Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.005804/0.005804, allocations: 179.6 kB / 7.457 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7889/0.7889, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.649/1.649, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 102.4 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4636/0.4648, allocations: 88.43 MB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.6239, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.364/4.988, allocations: 1.836 GB / 2.469 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/4.988, allocations: 83.95 kB / 2.469 GB, free: 127.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 2.758/7.746, allocations: 0.6876 GB / 3.157 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/7.746, allocations: 13.41 kB / 3.157 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005922/7.752, allocations: 0.9775 MB / 3.158 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004298/7.756, allocations: 1.169 MB / 3.159 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/7.756, allocations: 24.72 kB / 3.159 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/7.757, allocations: 58.28 kB / 3.159 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001783/7.758, allocations: 1.011 MB / 3.16 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/7.76, allocations: 1.185 MB / 3.161 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/7.76, allocations: 3.844 kB / 3.161 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/7.76, allocations: 0 / 3.161 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/7.76, allocations: 48.09 kB / 3.161 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009348/7.77, allocations: 4.887 MB / 3.166 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/7.772, allocations: 1.035 MB / 3.167 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000886/7.772, allocations: 0.5916 MB / 3.168 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/7.774, allocations: 0.9569 MB / 3.169 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/7.775, allocations: 0.6837 MB / 3.169 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 5.32e-06/7.775, allocations: 0 / 3.169 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.003533/7.779, allocations: 1.326 MB / 3.171 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/7.779, allocations: 62.53 kB / 3.171 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/7.78, allocations: 0.8174 MB / 3.171 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/7.78, allocations: 30.64 kB / 3.171 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/7.78, allocations: 378 kB / 3.172 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/7.781, allocations: 311.5 kB / 3.172 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/7.781, allocations: 2.875 kB / 3.172 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000138/7.781, allocations: 342.7 kB / 3.172 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008059/7.782, allocations: 496.4 kB / 3.173 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009918/7.783, allocations: 0.7098 MB / 3.174 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/7.784, allocations: 0.5186 MB / 3.174 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/7.784, allocations: 0 / 3.174 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002678/7.787, allocations: 1.308 MB / 3.175 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/7.787, allocations: 6.906 kB / 3.175 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/7.787, allocations: 3.906 kB / 3.175 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/7.787, allocations: 10.31 kB / 3.175 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/7.789, allocations: 369.3 kB / 3.176 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/7.789, allocations: 11.91 kB / 3.176 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/7.791, allocations: 238.5 kB / 3.176 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/7.791, allocations: 56.17 kB / 3.176 GB, free: 110.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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 0.0002768/7.791, allocations: 136.6 kB / 3.176 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/7.792, allocations: 121.6 kB / 3.176 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/7.794, allocations: 1.387 MB / 3.178 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/7.794, allocations: 14.75 kB / 3.178 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/7.794, allocations: 5.812 kB / 3.178 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/7.794, allocations: 7.688 kB / 3.178 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005168/7.8, allocations: 2.927 MB / 3.181 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/7.8, allocations: 3.812 kB / 3.181 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/7.802, allocations: 333.2 kB / 3.181 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/7.802, allocations: 10.91 kB / 3.181 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/7.802, allocations: 27.94 kB / 3.181 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/7.802, allocations: 7.812 kB / 3.181 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/7.802, allocations: 15.28 kB / 3.181 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003775/7.806, allocations: 2.433 MB / 3.183 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004747/7.81, allocations: 3.711 MB / 3.187 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007336/7.811, allocations: 348 kB / 3.187 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/7.811, allocations: 13.16 kB / 3.187 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/7.813, allocations: 183.3 kB / 3.187 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/7.813, allocations: 68.97 kB / 3.188 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/7.813, allocations: 44.88 kB / 3.188 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007972/7.814, allocations: 0.629 MB / 3.188 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002684/7.817, allocations: 0.6829 MB / 3.189 GB, free: 107.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0032/7.82, allocations: 2.132 MB / 3.191 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002209/7.822, allocations: 1.198 MB / 3.192 GB, free: 107 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/7.822, allocations: 0 / 3.192 GB, free: 107 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008923/7.823, allocations: 0.638 MB / 3.193 GB, free: 107 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/7.825, allocations: 406.3 kB / 3.193 GB, free: 107 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/7.842, allocations: 3.151 MB / 3.196 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/7.843, allocations: 1.4 MB / 3.198 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.313e-06/7.843, allocations: 0 / 3.198 GB, free: 105.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)