Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001896/0.001896, allocations: 179.1 kB / 7.463 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.601/0.601, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.153/1.153, allocations: 221.3 MB / 395 MB, free: 10.27 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.000897/0.0008966, allocations: 102.3 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.893e-06, allocations: 2.812 kB / 0.5528 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1263, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.948/3.075, allocations: 1.836 GB / 2.469 GB, free: 90.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/3.075, allocations: 81.77 kB / 2.469 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.704/5.778, allocations: 1.018 GB / 3.487 GB, free: 111.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001215/5.778, allocations: 41.89 kB / 3.487 GB, free: 111.8 MB / 0.698 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.006665/5.785, allocations: 1.876 MB / 3.489 GB, free: 110.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/5.785, allocations: 13.06 kB / 3.489 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004196/5.789, allocations: 0.7615 MB / 3.49 GB, free: 110.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/5.793, allocations: 1.058 MB / 3.491 GB, free: 109.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/5.793, allocations: 27.44 kB / 3.491 GB, free: 109.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/5.793, allocations: 52 kB / 3.491 GB, free: 109.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/5.794, allocations: 0.8903 MB / 3.492 GB, free: 108.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/5.796, allocations: 1.158 MB / 3.493 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/5.796, allocations: 3.938 kB / 3.493 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.901e-05/5.796, allocations: 4 kB / 3.493 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/5.796, allocations: 44.23 kB / 3.493 GB, free: 107.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006035/5.802, allocations: 5.137 MB / 3.498 GB, free: 101.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/5.803, allocations: 0.8882 MB / 3.499 GB, free: 101.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/5.803, allocations: 498.5 kB / 3.499 GB, free: 100.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009622/5.804, allocations: 0.9575 MB / 3.5 GB, free: 99.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006801/5.805, allocations: 0.5943 MB / 3.501 GB, free: 98.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 2.355e-06/5.805, allocations: 0 / 3.501 GB, free: 98.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002264/5.807, allocations: 1.142 MB / 3.502 GB, free: 97.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/5.807, allocations: 71.25 kB / 3.502 GB, free: 97.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007515/5.808, allocations: 0.8509 MB / 3.503 GB, free: 96.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.117e-05/5.808, allocations: 32.77 kB / 3.503 GB, free: 96.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/5.808, allocations: 403.8 kB / 3.503 GB, free: 96.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/5.809, allocations: 276 kB / 3.504 GB, free: 96.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/5.809, allocations: 0 / 3.504 GB, free: 96.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/5.809, allocations: 340.7 kB / 3.504 GB, free: 95.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/5.809, allocations: 425.8 kB / 3.504 GB, free: 95.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/5.81, allocations: 0.6985 MB / 3.505 GB, free: 94.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/5.811, allocations: 485.7 kB / 3.506 GB, free: 94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/5.811, allocations: 4 kB / 3.506 GB, free: 94 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00156/5.812, allocations: 1.186 MB / 3.507 GB, free: 92.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/5.812, allocations: 8 kB / 3.507 GB, free: 92.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/5.812, allocations: 4 kB / 3.507 GB, free: 92.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/5.812, allocations: 19.75 kB / 3.507 GB, free: 92.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/5.814, allocations: 326 kB / 3.507 GB, free: 92.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/5.814, allocations: 19.97 kB / 3.507 GB, free: 92.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/5.815, allocations: 199.9 kB / 3.507 GB, free: 92.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/5.815, allocations: 59.95 kB / 3.507 GB, free: 92.21 MB / 0.698 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.0001817/5.815, allocations: 138.7 kB / 3.507 GB, free: 92.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/5.815, allocations: 118.5 kB / 3.508 GB, free: 91.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/5.817, allocations: 1.207 MB / 3.509 GB, free: 90.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/5.817, allocations: 12 kB / 3.509 GB, free: 90.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/5.817, allocations: 3.906 kB / 3.509 GB, free: 90.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/5.817, allocations: 3.984 kB / 3.509 GB, free: 90.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/5.821, allocations: 2.621 MB / 3.511 GB, free: 88.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/5.821, allocations: 4 kB / 3.511 GB, free: 88.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/5.822, allocations: 277.7 kB / 3.512 GB, free: 87.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/5.822, allocations: 8 kB / 3.512 GB, free: 87.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.598e-05/5.822, allocations: 19.97 kB / 3.512 GB, free: 87.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/5.822, allocations: 11.98 kB / 3.512 GB, free: 87.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/5.822, allocations: 7.938 kB / 3.512 GB, free: 87.74 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002164/5.824, allocations: 2.166 MB / 3.514 GB, free: 85.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/5.825, allocations: 331.2 kB / 3.514 GB, free: 85.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/5.825, allocations: 7.984 kB / 3.514 GB, free: 85.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/5.826, allocations: 138.3 kB / 3.514 GB, free: 84.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/5.826, allocations: 68.02 kB / 3.514 GB, free: 84.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.679e-05/5.826, allocations: 39.95 kB / 3.514 GB, free: 84.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0005434/5.827, allocations: 0.6404 MB / 3.515 GB, free: 84.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001118/5.828, allocations: 455.3 kB / 3.515 GB, free: 83.77 MB / 0.698 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.002019/5.83, allocations: 2.129 MB / 3.517 GB, free: 82.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001232/5.831, allocations: 1.039 MB / 3.518 GB, free: 81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/5.831, allocations: 0 / 3.518 GB, free: 81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006406/5.832, allocations: 0.5426 MB / 3.519 GB, free: 80.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/5.834, allocations: 399.3 kB / 3.519 GB, free: 80.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/5.837, allocations: 2.064 MB / 3.521 GB, free: 77.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009941/5.838, allocations: 1.358 MB / 3.523 GB, free: 76.56 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/5.838, allocations: 7.938 kB / 3.523 GB, free: 76.55 MB / 0.698 GB Notification: Performance of Templates: time 0.03543/5.873, allocations: 30.67 MB / 3.553 GB, free: 46.46 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)