Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_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.002986/0.002986, allocations: 180.9 kB / 7.459 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.703/0.703, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.472/1.472, allocations: 221.3 MB / 395 MB, free: 10.12 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.0009948/0.0009948, allocations: 92.75 kB / 477.8 MB, free: 10.7 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4549/0.456, allocations: 88.43 MB / 0.5529 GB, free: 89.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.6452, allocations: 82.3 MB / 0.6333 GB, free: 13.79 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.305/4.95, allocations: 1.836 GB / 2.469 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/4.95, allocations: 83.95 kB / 2.469 GB, free: 109.4 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.519/7.469, allocations: 0.6875 GB / 3.157 GB, free: 115 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/7.469, allocations: 10.31 kB / 3.157 GB, free: 115 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005812/7.475, allocations: 0.9777 MB / 3.158 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004376/7.479, allocations: 1.161 MB / 3.159 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/7.479, allocations: 27.34 kB / 3.159 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/7.48, allocations: 64.33 kB / 3.159 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001771/7.481, allocations: 1.014 MB / 3.16 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/7.483, allocations: 1.186 MB / 3.161 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/7.483, allocations: 0 / 3.161 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/7.483, allocations: 0 / 3.161 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/7.483, allocations: 44.7 kB / 3.161 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008434/7.492, allocations: 4.885 MB / 3.166 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/7.493, allocations: 1.034 MB / 3.167 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008528/7.494, allocations: 0.5899 MB / 3.168 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/7.496, allocations: 0.958 MB / 3.169 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009697/7.496, allocations: 0.6828 MB / 3.169 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 3.537e-06/7.497, allocations: 0 / 3.169 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.003274/7.5, allocations: 1.32 MB / 3.171 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/7.5, allocations: 65.12 kB / 3.171 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/7.501, allocations: 0.8163 MB / 3.171 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/7.501, allocations: 34.14 kB / 3.171 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/7.501, allocations: 370.7 kB / 3.172 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/7.502, allocations: 319.8 kB / 3.172 GB, free: 111 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/7.502, allocations: 0 / 3.172 GB, free: 111 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/7.502, allocations: 345 kB / 3.172 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/7.503, allocations: 491.8 kB / 3.173 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008292/7.503, allocations: 0.7076 MB / 3.174 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/7.504, allocations: 0.5272 MB / 3.174 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/7.504, allocations: 7.438 kB / 3.174 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002098/7.506, allocations: 1.299 MB / 3.175 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/7.506, allocations: 3.781 kB / 3.175 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/7.506, allocations: 7.031 kB / 3.175 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/7.506, allocations: 10.09 kB / 3.175 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/7.509, allocations: 378.7 kB / 3.176 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/7.509, allocations: 12.62 kB / 3.176 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/7.51, allocations: 232.1 kB / 3.176 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/7.511, allocations: 56.91 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.0002853/7.511, allocations: 141.5 kB / 3.176 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/7.511, allocations: 118.8 kB / 3.176 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/7.514, allocations: 1.393 MB / 3.178 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/7.514, allocations: 8.625 kB / 3.178 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/7.514, allocations: 0 / 3.178 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/7.514, allocations: 7.547 kB / 3.178 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004734/7.519, allocations: 2.925 MB / 3.181 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/7.519, allocations: 6.875 kB / 3.181 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/7.521, allocations: 329.9 kB / 3.181 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/7.521, allocations: 10 kB / 3.181 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/7.521, allocations: 26.66 kB / 3.181 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/7.521, allocations: 15.09 kB / 3.181 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/7.521, allocations: 10.72 kB / 3.181 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003409/7.524, allocations: 2.438 MB / 3.183 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004854/7.529, allocations: 3.705 MB / 3.187 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009892/7.53, allocations: 351.3 kB / 3.187 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/7.53, allocations: 10.62 kB / 3.187 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/7.532, allocations: 181.6 kB / 3.187 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/7.532, allocations: 64.86 kB / 3.187 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/7.533, allocations: 49.72 kB / 3.188 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008825/7.533, allocations: 0.6299 MB / 3.188 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002959/7.536, allocations: 0.6932 MB / 3.189 GB, free: 107.7 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.003273/7.54, allocations: 2.138 MB / 3.191 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0022/7.542, allocations: 1.196 MB / 3.192 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/7.542, allocations: 0 / 3.192 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009417/7.543, allocations: 0.6303 MB / 3.193 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/7.545, allocations: 408.5 kB / 3.193 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/7.563, allocations: 3.135 MB / 3.196 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/7.565, allocations: 1.401 MB / 3.198 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of SimCode: time 4.578e-06/7.565, allocations: 0 / 3.198 GB, free: 105.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)