Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 188.8 kB / 7.805 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4588/0.4588, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 221.4 MB / 342.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009794, allocations: 93.95 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1896/0.1907, allocations: 78.45 MB / 494 MB, free: 7.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.6211, allocations: 72.31 MB / 0.553 GB, free: 73.3 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6315/1.253, allocations: 353.3 MB / 0.898 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/1.253, allocations: 97.98 kB / 0.8981 GB, free: 4.57 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.6481/1.901, allocations: 179 MB / 1.073 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/1.901, allocations: 8 kB / 1.073 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/1.901, allocations: 59.34 kB / 1.073 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009326/1.902, allocations: 460.7 kB / 1.073 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/1.902, allocations: 8 kB / 1.073 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/1.903, allocations: 27.84 kB / 1.073 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003078/1.903, allocations: 145 kB / 1.074 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/1.903, allocations: 236.3 kB / 1.074 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/1.903, allocations: 0 / 1.074 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/1.903, allocations: 0 / 1.074 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/1.903, allocations: 8 kB / 1.074 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/1.905, allocations: 1.446 MB / 1.075 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/1.905, allocations: 134.9 kB / 1.075 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.251e-05/1.905, allocations: 64.84 kB / 1.075 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/1.907, allocations: 1.351 MB / 1.077 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/1.907, allocations: 30.56 kB / 1.077 GB, free: 112 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.295e-06/1.907, allocations: 0 / 1.077 GB, free: 112 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005243/1.907, allocations: 184.9 kB / 1.077 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/1.907, allocations: 51.41 kB / 1.077 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/1.908, allocations: 477.2 kB / 1.077 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/1.908, allocations: 33.7 kB / 1.077 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.908, allocations: 200 kB / 1.078 GB, free: 111 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/1.908, allocations: 55.2 kB / 1.078 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/1.908, allocations: 0 / 1.078 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/1.908, allocations: 354.8 kB / 1.078 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/1.908, allocations: 48.56 kB / 1.078 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/1.908, allocations: 209.1 kB / 1.078 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/1.909, allocations: 99.86 kB / 1.078 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.909, allocations: 0 / 1.078 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005085/1.909, allocations: 275.9 kB / 1.079 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001955/1.909, allocations: 0.9598 MB / 1.08 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.909, allocations: 0 / 1.08 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/1.91, allocations: 8.078 kB / 1.08 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/1.91, allocations: 75.83 kB / 1.08 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.91, allocations: 4 kB / 1.08 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/1.91, allocations: 47.66 kB / 1.08 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/1.91, allocations: 16 kB / 1.08 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/1.91, allocations: 4 kB / 1.08 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004002/1.911, allocations: 191.7 kB / 1.08 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.911, allocations: 4 kB / 1.08 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.421e-06/1.911, allocations: 4 kB / 1.08 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/1.911, allocations: 71.83 kB / 1.08 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/1.911, allocations: 11.84 kB / 1.08 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/1.911, allocations: 40.06 kB / 1.08 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/1.911, allocations: 12 kB / 1.08 GB, free: 108.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.791e-05/1.911, allocations: 112.9 kB / 1.08 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/1.912, allocations: 47.34 kB / 1.08 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005148/1.912, allocations: 241.4 kB / 1.08 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.912, allocations: 4 kB / 1.08 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/1.912, allocations: 0 / 1.08 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.912, allocations: 0 / 1.08 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008614/1.913, allocations: 0.6844 MB / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/1.913, allocations: 0 / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/1.913, allocations: 43.91 kB / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.913, allocations: 3.906 kB / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/1.913, allocations: 4 kB / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.913, allocations: 4 kB / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.913, allocations: 4.125 kB / 1.081 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003909/1.914, allocations: 375.4 kB / 1.082 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005255/1.914, allocations: 0.7692 MB / 1.082 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/1.914, allocations: 152.4 kB / 1.082 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/1.914, allocations: 0 / 1.082 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/1.915, allocations: 27.89 kB / 1.082 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/1.915, allocations: 19.97 kB / 1.082 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/1.915, allocations: 4 kB / 1.083 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.00034/1.915, allocations: 366.9 kB / 1.083 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002221/1.917, allocations: 339.5 kB / 1.083 GB, free: 105 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/1.918, allocations: 0.5215 MB / 1.084 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004934/1.919, allocations: 289.7 kB / 1.084 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.919, allocations: 4.375 kB / 1.084 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/1.919, allocations: 79.84 kB / 1.084 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/1.92, allocations: 205.4 kB / 1.084 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/1.921, allocations: 0.5694 MB / 1.085 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/1.922, allocations: 0.9016 MB / 1.086 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/1.922, allocations: 0 / 1.086 GB, free: 102.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)