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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.004124/0.004124, allocations: 185.7 kB / 7.464 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7288/0.7288, 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.506/1.506, allocations: 221.3 MB / 395 MB, free: 10.26 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.001034/0.001034, allocations: 94.23 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4977/0.4988, allocations: 88.43 MB / 0.5529 GB, free: 68.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.6839, allocations: 82.31 MB / 0.6333 GB, free: 2.344 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.311/4.995, allocations: 1.836 GB / 2.469 GB, free: 283.9 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/4.996, allocations: 85.14 kB / 2.469 GB, free: 283.9 MB / 0.7292 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.355/8.351, allocations: 1.02 GB / 3.489 GB, free: 94.17 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/8.351, allocations: 8 kB / 3.489 GB, free: 94.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004803/8.356, allocations: 0.767 MB / 3.49 GB, free: 93.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004015/8.36, allocations: 1.062 MB / 3.491 GB, free: 92.35 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/8.36, allocations: 31.88 kB / 3.491 GB, free: 92.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/8.361, allocations: 52 kB / 3.491 GB, free: 92.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002233/8.363, allocations: 0.8825 MB / 3.492 GB, free: 91.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/8.365, allocations: 1.161 MB / 3.493 GB, free: 90.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/8.365, allocations: 4 kB / 3.493 GB, free: 90.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/8.365, allocations: 0 / 3.493 GB, free: 90.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/8.365, allocations: 43.66 kB / 3.493 GB, free: 90.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/8.376, allocations: 5.157 MB / 3.498 GB, free: 84.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/8.377, allocations: 0.8775 MB / 3.499 GB, free: 83.97 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006361/8.378, allocations: 498.5 kB / 3.5 GB, free: 83.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/8.379, allocations: 0.9501 MB / 3.5 GB, free: 82.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000798/8.38, allocations: 0.595 MB / 3.501 GB, free: 81.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 4.028e-06/8.38, allocations: 0 / 3.501 GB, free: 81.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.003001/8.383, allocations: 1.153 MB / 3.502 GB, free: 80.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/8.383, allocations: 61.7 kB / 3.502 GB, free: 80.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/8.384, allocations: 0.8465 MB / 3.503 GB, free: 79.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/8.384, allocations: 25.7 kB / 3.503 GB, free: 79.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/8.385, allocations: 411.7 kB / 3.503 GB, free: 79.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/8.385, allocations: 272.1 kB / 3.504 GB, free: 78.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/8.385, allocations: 0 / 3.504 GB, free: 78.96 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.256e-05/8.385, allocations: 341.9 kB / 3.504 GB, free: 78.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/8.386, allocations: 425.8 kB / 3.504 GB, free: 78.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006913/8.386, allocations: 0.7086 MB / 3.505 GB, free: 77.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/8.387, allocations: 473 kB / 3.506 GB, free: 76.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/8.387, allocations: 4 kB / 3.506 GB, free: 76.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001803/8.389, allocations: 1.196 MB / 3.507 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/8.389, allocations: 4 kB / 3.507 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/8.389, allocations: 11.94 kB / 3.507 GB, free: 75.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/8.389, allocations: 12 kB / 3.507 GB, free: 75.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/8.391, allocations: 323.6 kB / 3.507 GB, free: 75.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/8.391, allocations: 15.94 kB / 3.507 GB, free: 75.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/8.392, allocations: 202.3 kB / 3.507 GB, free: 75.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/8.392, allocations: 59.94 kB / 3.507 GB, free: 75.09 MB / 0.7292 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.0002334/8.393, allocations: 146.6 kB / 3.507 GB, free: 74.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/8.393, allocations: 118.5 kB / 3.508 GB, free: 74.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/8.395, allocations: 1.209 MB / 3.509 GB, free: 73.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/8.395, allocations: 8 kB / 3.509 GB, free: 73.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/8.395, allocations: 0 / 3.509 GB, free: 73.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/8.395, allocations: 7.922 kB / 3.509 GB, free: 73.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004008/8.399, allocations: 2.623 MB / 3.511 GB, free: 70.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/8.399, allocations: 7.906 kB / 3.511 GB, free: 70.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/8.4, allocations: 268.1 kB / 3.512 GB, free: 70.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/8.4, allocations: 8 kB / 3.512 GB, free: 70.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.782e-05/8.401, allocations: 27.95 kB / 3.512 GB, free: 70.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/8.401, allocations: 11.94 kB / 3.512 GB, free: 70.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/8.401, allocations: 4 kB / 3.512 GB, free: 70.58 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002641/8.403, allocations: 2.164 MB / 3.514 GB, free: 68.27 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003791/8.407, allocations: 3.327 MB / 3.517 GB, free: 64.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006841/8.408, allocations: 335.2 kB / 3.517 GB, free: 64.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/8.408, allocations: 8 kB / 3.517 GB, free: 64.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/8.409, allocations: 139.8 kB / 3.517 GB, free: 64.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/8.409, allocations: 60.48 kB / 3.518 GB, free: 64.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/8.41, allocations: 39.97 kB / 3.518 GB, free: 64.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0007695/8.41, allocations: 0.6403 MB / 3.518 GB, free: 63.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002594/8.413, allocations: 0.6726 MB / 3.519 GB, free: 62.88 MB / 0.7292 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.003231/8.416, allocations: 2.12 MB / 3.521 GB, free: 61.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001913/8.418, allocations: 1.04 MB / 3.522 GB, free: 60.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/8.418, allocations: 4 kB / 3.522 GB, free: 60 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007776/8.419, allocations: 0.5333 MB / 3.522 GB, free: 59.47 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/8.421, allocations: 390.7 kB / 3.523 GB, free: 59.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/8.426, allocations: 2.075 MB / 3.525 GB, free: 56.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/8.427, allocations: 1.373 MB / 3.526 GB, free: 55.55 MB / 0.7292 GB Notification: Performance of SimCode: time 2.134e-06/8.427, allocations: 0 / 3.526 GB, free: 55.55 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)