Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.00484/0.00484, allocations: 180.3 kB / 7.458 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.7136/0.7136, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.575/1.575, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009391/0.0009393, allocations: 105.7 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4339/0.4348, allocations: 88.43 MB / 0.5529 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.5969, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.886/5.483, allocations: 2.12 GB / 2.754 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/5.484, allocations: 83.95 kB / 2.754 GB, free: 103.1 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 1.962/7.446, allocations: 0.6013 GB / 3.355 GB, free: 36.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/7.446, allocations: 8 kB / 3.355 GB, free: 36.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/7.449, allocations: 0.6445 MB / 3.356 GB, free: 35.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/7.451, allocations: 0.9318 MB / 3.357 GB, free: 34.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/7.451, allocations: 27.98 kB / 3.357 GB, free: 34.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/7.452, allocations: 47.91 kB / 3.357 GB, free: 34.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001001/7.453, allocations: 0.5623 MB / 3.357 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/7.454, allocations: 0.8302 MB / 3.358 GB, free: 33.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/7.454, allocations: 3.938 kB / 3.358 GB, free: 33.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-05/7.454, allocations: 7.984 kB / 3.358 GB, free: 33.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/7.454, allocations: 33.3 kB / 3.358 GB, free: 33.11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/7.459, allocations: 4.839 MB / 3.363 GB, free: 28.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009751/7.46, allocations: 0.549 MB / 3.363 GB, free: 27.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/7.46, allocations: 286.3 kB / 3.364 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/7.461, allocations: 1.603 MB / 3.365 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005333/7.462, allocations: 373.1 kB / 3.366 GB, free: 24.85 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.817e-06/7.462, allocations: 0 / 3.366 GB, free: 24.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.001766/7.464, allocations: 0.706 MB / 3.366 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/7.464, allocations: 55.91 kB / 3.366 GB, free: 24.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/7.465, allocations: 0.8383 MB / 3.367 GB, free: 23.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/7.465, allocations: 29.7 kB / 3.367 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/7.465, allocations: 379.2 kB / 3.367 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/7.465, allocations: 201.1 kB / 3.368 GB, free: 22.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/7.465, allocations: 0 / 3.368 GB, free: 22.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/7.466, allocations: 341.8 kB / 3.368 GB, free: 22.26 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/7.466, allocations: 258 kB / 3.368 GB, free: 22.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/7.466, allocations: 0.5366 MB / 3.369 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008216/7.467, allocations: 355 kB / 3.369 GB, free: 21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/7.467, allocations: 0 / 3.369 GB, free: 21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001618/7.469, allocations: 0.8813 MB / 3.37 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/7.469, allocations: 8 kB / 3.37 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/7.469, allocations: 7.984 kB / 3.37 GB, free: 20.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/7.469, allocations: 16 kB / 3.37 GB, free: 20.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/7.47, allocations: 292 kB / 3.37 GB, free: 19.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/7.47, allocations: 15.94 kB / 3.37 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/7.472, allocations: 187.1 kB / 3.37 GB, free: 19.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/7.472, allocations: 51.97 kB / 3.371 GB, free: 19.55 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0001925/7.472, allocations: 142.7 kB / 3.371 GB, free: 19.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/7.472, allocations: 110.6 kB / 3.371 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/7.474, allocations: 1.059 MB / 3.372 GB, free: 18.22 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/7.474, allocations: 19.98 kB / 3.372 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/7.474, allocations: 3.938 kB / 3.372 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/7.474, allocations: 7.891 kB / 3.372 GB, free: 18.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/7.478, allocations: 1.979 MB / 3.374 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/7.478, allocations: 0 / 3.374 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/7.479, allocations: 223.9 kB / 3.374 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/7.479, allocations: 4 kB / 3.374 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/7.479, allocations: 15.98 kB / 3.374 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/7.479, allocations: 11.92 kB / 3.374 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/7.479, allocations: 0 / 3.374 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002252/7.481, allocations: 1.525 MB / 3.376 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002832/7.484, allocations: 2.399 MB / 3.378 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/7.485, allocations: 295.3 kB / 3.378 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/7.485, allocations: 11.98 kB / 3.378 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/7.486, allocations: 131.9 kB / 3.378 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/7.486, allocations: 48.5 kB / 3.378 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/7.486, allocations: 31.97 kB / 3.378 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007616/7.487, allocations: 0.632 MB / 3.379 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002038/7.489, allocations: 439.4 kB / 3.379 GB, free: 10.24 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.00135/7.49, allocations: 0.7064 MB / 3.38 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001187/7.492, allocations: 0.7389 MB / 3.381 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/7.492, allocations: 0 / 3.381 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005309/7.492, allocations: 414.3 kB / 3.381 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/7.494, allocations: 316 kB / 3.381 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/7.497, allocations: 1.816 MB / 3.383 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009414/7.498, allocations: 1.284 MB / 3.385 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of SimCode: time 2.244e-06/7.498, allocations: 0 / 3.385 GB, free: 4.996 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)