Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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/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/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: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") [: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.003237/0.003237, allocations: 177 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6865/0.6865, allocations: 130.6 MB / 138.5 MB, free: 2.199 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 221.3 MB / 391.4 MB, free: 13.08 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.00111/0.00111, allocations: 92.38 kB / 473.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.007e-05, allocations: 3.062 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 81.59 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.259/4.428, allocations: 1.836 GB / 2.463 GB, free: 39.96 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/4.429, allocations: 87.95 kB / 2.463 GB, free: 39.87 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.89/8.319, allocations: 1.018 GB / 3.481 GB, free: 53.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000287/8.32, allocations: 55.84 kB / 3.481 GB, free: 53.46 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 0.009309/8.329, allocations: 1.867 MB / 3.483 GB, free: 51.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/8.329, allocations: 8.031 kB / 3.483 GB, free: 51.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005084/8.334, allocations: 0.7707 MB / 3.484 GB, free: 50.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004982/8.339, allocations: 1.059 MB / 3.485 GB, free: 49.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-05/8.339, allocations: 24 kB / 3.485 GB, free: 49.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004967/8.34, allocations: 56 kB / 3.485 GB, free: 49.56 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001951/8.342, allocations: 0.8903 MB / 3.486 GB, free: 48.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/8.344, allocations: 1.153 MB / 3.487 GB, free: 47.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/8.344, allocations: 3.938 kB / 3.487 GB, free: 47.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/8.344, allocations: 4 kB / 3.487 GB, free: 47.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.399e-05/8.344, allocations: 41.97 kB / 3.487 GB, free: 47.42 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00826/8.352, allocations: 5.14 MB / 3.492 GB, free: 42.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/8.354, allocations: 0.8867 MB / 3.493 GB, free: 41.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/8.354, allocations: 494.6 kB / 3.494 GB, free: 40.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/8.356, allocations: 0.9565 MB / 3.494 GB, free: 39.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008071/8.356, allocations: 0.5886 MB / 3.495 GB, free: 38.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.978e-06/8.356, allocations: 0 / 3.495 GB, free: 38.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.002908/8.359, allocations: 1.146 MB / 3.496 GB, free: 37.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/8.359, allocations: 64 kB / 3.496 GB, free: 37.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/8.361, allocations: 0.847 MB / 3.497 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/8.361, allocations: 33.7 kB / 3.497 GB, free: 36.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/8.361, allocations: 411.8 kB / 3.497 GB, free: 36.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/8.361, allocations: 272 kB / 3.498 GB, free: 36.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/8.361, allocations: 0 / 3.498 GB, free: 36.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/8.362, allocations: 341.9 kB / 3.498 GB, free: 35.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/8.362, allocations: 421.8 kB / 3.498 GB, free: 35.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007189/8.363, allocations: 0.708 MB / 3.499 GB, free: 34.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/8.364, allocations: 480.1 kB / 3.5 GB, free: 34.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/8.364, allocations: 8 kB / 3.5 GB, free: 34.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001935/8.366, allocations: 1.188 MB / 3.501 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/8.366, allocations: 4 kB / 3.501 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/8.366, allocations: 8 kB / 3.501 GB, free: 32.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/8.366, allocations: 12 kB / 3.501 GB, free: 32.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/8.367, allocations: 331.9 kB / 3.501 GB, free: 32.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/8.367, allocations: 12 kB / 3.501 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/8.369, allocations: 199 kB / 3.501 GB, free: 32.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/8.369, allocations: 59.95 kB / 3.501 GB, free: 32.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0002545/8.369, allocations: 142.7 kB / 3.502 GB, free: 32.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/8.37, allocations: 118.5 kB / 3.502 GB, free: 31.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/8.372, allocations: 1.209 MB / 3.503 GB, free: 30.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/8.372, allocations: 8 kB / 3.503 GB, free: 30.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/8.372, allocations: 7.844 kB / 3.503 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/8.372, allocations: 3.984 kB / 3.503 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00458/8.377, allocations: 2.636 MB / 3.505 GB, free: 28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/8.377, allocations: 4 kB / 3.505 GB, free: 28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/8.378, allocations: 268.1 kB / 3.506 GB, free: 27.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/8.378, allocations: 8 kB / 3.506 GB, free: 27.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/8.378, allocations: 27.95 kB / 3.506 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/8.378, allocations: 8 kB / 3.506 GB, free: 27.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/8.378, allocations: 11.94 kB / 3.506 GB, free: 27.68 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002974/8.381, allocations: 2.16 MB / 3.508 GB, free: 25.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000872/8.382, allocations: 331.3 kB / 3.508 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000394/8.383, allocations: 8 kB / 3.508 GB, free: 25.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/8.384, allocations: 147.8 kB / 3.508 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/8.384, allocations: 56.48 kB / 3.508 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/8.384, allocations: 39.97 kB / 3.508 GB, free: 24.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001119/8.386, allocations: 0.6442 MB / 3.509 GB, free: 24.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002026/8.388, allocations: 467.3 kB / 3.509 GB, free: 23.66 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (88): * Single equations (assignments): 82 * 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.003262/8.391, allocations: 2.12 MB / 3.512 GB, free: 21.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001976/8.393, allocations: 1.039 MB / 3.513 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/8.393, allocations: 3.938 kB / 3.513 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008923/8.394, allocations: 0.5392 MB / 3.513 GB, free: 19.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/8.396, allocations: 398.6 kB / 3.513 GB, free: 19.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/8.401, allocations: 2.06 MB / 3.515 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/8.402, allocations: 1.366 MB / 3.517 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of SimCode: time 9.71e-07/8.402, allocations: 3.938 kB / 3.517 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of Templates: time 0.4126/8.815, allocations: 30.64 MB / 3.547 GB, free: 176 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)