Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.004518/0.004518, allocations: 187 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7751/0.7751, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.61/1.61, allocations: 221.3 MB / 395 MB, free: 10.19 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.001039/0.001039, allocations: 100.5 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4801/0.4812, allocations: 88.43 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.6843, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.255/4.939, allocations: 1.836 GB / 2.469 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/4.939, allocations: 83.94 kB / 2.469 GB, free: 128.5 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 3.703/8.642, allocations: 1.02 GB / 3.489 GB, free: 107 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/8.643, allocations: 11.72 kB / 3.489 GB, free: 107 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004948/8.647, allocations: 0.7637 MB / 3.49 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/8.651, allocations: 1.064 MB / 3.491 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/8.651, allocations: 24.75 kB / 3.491 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/8.652, allocations: 52.5 kB / 3.491 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/8.653, allocations: 0.851 MB / 3.492 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/8.655, allocations: 1.177 MB / 3.493 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/8.655, allocations: 3.281 kB / 3.493 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.245e-05/8.655, allocations: 3.969 kB / 3.493 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/8.655, allocations: 43.58 kB / 3.493 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/8.666, allocations: 5.683 MB / 3.499 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/8.669, allocations: 0.8806 MB / 3.5 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009353/8.67, allocations: 498.5 kB / 3.5 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000971/8.671, allocations: 0.5887 MB / 3.501 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/8.672, allocations: 0.5759 MB / 3.501 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 5.811e-06/8.672, allocations: 0 / 3.501 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.003502/8.676, allocations: 1.086 MB / 3.502 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/8.676, allocations: 60.47 kB / 3.502 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/8.677, allocations: 0.8519 MB / 3.503 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/8.678, allocations: 31.83 kB / 3.503 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/8.678, allocations: 415.1 kB / 3.504 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/8.678, allocations: 265.1 kB / 3.504 GB, free: 102 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/8.678, allocations: 1.719 kB / 3.504 GB, free: 102 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/8.678, allocations: 347.7 kB / 3.504 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007845/8.679, allocations: 418.5 kB / 3.505 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/8.68, allocations: 0.7104 MB / 3.505 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009761/8.681, allocations: 480.8 kB / 3.506 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/8.681, allocations: 2.781 kB / 3.506 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002184/8.683, allocations: 1.192 MB / 3.507 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/8.683, allocations: 6.688 kB / 3.507 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/8.683, allocations: 7.719 kB / 3.507 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/8.684, allocations: 14.69 kB / 3.507 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/8.685, allocations: 329 kB / 3.507 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/8.685, allocations: 17.05 kB / 3.507 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/8.687, allocations: 201 kB / 3.508 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/8.687, allocations: 65.58 kB / 3.508 GB, free: 101 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0002554/8.687, allocations: 137.7 kB / 3.508 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/8.688, allocations: 115.2 kB / 3.508 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/8.69, allocations: 1.188 MB / 3.509 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/8.69, allocations: 6.531 kB / 3.509 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/8.69, allocations: 6.344 kB / 3.509 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/8.69, allocations: 7.312 kB / 3.509 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/8.695, allocations: 2.6 MB / 3.512 GB, free: 99.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/8.695, allocations: 2.531 kB / 3.512 GB, free: 99.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/8.696, allocations: 268.8 kB / 3.512 GB, free: 99.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.508e-05/8.696, allocations: 7.312 kB / 3.512 GB, free: 99.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/8.696, allocations: 32.73 kB / 3.512 GB, free: 99.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/8.696, allocations: 11.72 kB / 3.512 GB, free: 99.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/8.696, allocations: 7.594 kB / 3.512 GB, free: 99.38 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004625/8.701, allocations: 2.136 MB / 3.514 GB, free: 98.23 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005693/8.707, allocations: 3.283 MB / 3.517 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/8.708, allocations: 327 kB / 3.517 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/8.708, allocations: 8.094 kB / 3.517 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/8.709, allocations: 150.1 kB / 3.518 GB, free: 96.17 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/8.71, allocations: 59.81 kB / 3.518 GB, free: 96.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/8.71, allocations: 42.31 kB / 3.518 GB, free: 96.15 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001135/8.711, allocations: 0.6447 MB / 3.518 GB, free: 95.87 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003195/8.714, allocations: 0.662 MB / 3.519 GB, free: 95.53 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.003942/8.718, allocations: 2.123 MB / 3.521 GB, free: 94.92 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002055/8.72, allocations: 1.043 MB / 3.522 GB, free: 94.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/8.72, allocations: 0 / 3.522 GB, free: 94.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009219/8.721, allocations: 0.5332 MB / 3.523 GB, free: 94.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/8.723, allocations: 398.1 kB / 3.523 GB, free: 94.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/8.742, allocations: 2.783 MB / 3.526 GB, free: 93.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/8.743, allocations: 1.372 MB / 3.527 GB, free: 92.68 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/8.743, allocations: 4 kB / 3.527 GB, free: 92.67 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)