Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_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.002957/0.002957, allocations: 180 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.6919/0.6919, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.592/1.592, allocations: 221.3 MB / 395 MB, free: 10.18 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.001017/0.001017, allocations: 103.5 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4726/0.4737, allocations: 88.42 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.693, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.824/5.517, allocations: 2.12 GB / 2.754 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/5.517, allocations: 83.27 kB / 2.754 GB, free: 119.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.938/7.455, allocations: 0.6013 GB / 3.355 GB, free: 50.78 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/7.455, allocations: 8 kB / 3.355 GB, free: 50.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/7.459, allocations: 0.6344 MB / 3.356 GB, free: 50.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/7.461, allocations: 0.9337 MB / 3.357 GB, free: 49.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/7.461, allocations: 28 kB / 3.357 GB, free: 49.15 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/7.462, allocations: 47.91 kB / 3.357 GB, free: 49.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001073/7.463, allocations: 0.5584 MB / 3.357 GB, free: 48.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/7.464, allocations: 0.8225 MB / 3.358 GB, free: 47.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/7.464, allocations: 11.88 kB / 3.358 GB, free: 47.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.067e-05/7.464, allocations: 0 / 3.358 GB, free: 47.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/7.464, allocations: 33.3 kB / 3.358 GB, free: 47.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005511/7.469, allocations: 4.844 MB / 3.363 GB, free: 42.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/7.471, allocations: 0.5439 MB / 3.363 GB, free: 41.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/7.471, allocations: 298.2 kB / 3.364 GB, free: 41.67 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/7.472, allocations: 1.597 MB / 3.365 GB, free: 39.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/7.473, allocations: 373.1 kB / 3.366 GB, free: 39.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.908e-06/7.473, allocations: 0 / 3.366 GB, free: 39.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.001771/7.474, allocations: 0.7099 MB / 3.366 GB, free: 38.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/7.474, allocations: 55.91 kB / 3.366 GB, free: 38.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009756/7.475, allocations: 0.8344 MB / 3.367 GB, free: 37.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/7.476, allocations: 33.69 kB / 3.367 GB, free: 37.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/7.476, allocations: 375.3 kB / 3.367 GB, free: 37.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/7.476, allocations: 201.8 kB / 3.368 GB, free: 37.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/7.476, allocations: 0 / 3.368 GB, free: 37.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/7.476, allocations: 337.9 kB / 3.368 GB, free: 36.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/7.476, allocations: 257.9 kB / 3.368 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/7.477, allocations: 0.5373 MB / 3.369 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008398/7.478, allocations: 350.9 kB / 3.369 GB, free: 35.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/7.478, allocations: 4 kB / 3.369 GB, free: 35.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001713/7.48, allocations: 0.8813 MB / 3.37 GB, free: 34.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/7.48, allocations: 6.656 kB / 3.37 GB, free: 34.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/7.48, allocations: 8 kB / 3.37 GB, free: 34.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/7.48, allocations: 12 kB / 3.37 GB, free: 34.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/7.481, allocations: 296.9 kB / 3.37 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/7.481, allocations: 15.98 kB / 3.37 GB, free: 34.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/7.482, allocations: 191.8 kB / 3.37 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/7.482, allocations: 55.97 kB / 3.371 GB, free: 34.04 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.0001894/7.483, allocations: 134.7 kB / 3.371 GB, free: 33.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/7.483, allocations: 114.6 kB / 3.371 GB, free: 33.79 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/7.485, allocations: 1.059 MB / 3.372 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/7.485, allocations: 15.98 kB / 3.372 GB, free: 32.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/7.485, allocations: 0 / 3.372 GB, free: 32.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/7.485, allocations: 7.891 kB / 3.372 GB, free: 32.69 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/7.488, allocations: 1.975 MB / 3.374 GB, free: 30.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/7.488, allocations: 7.938 kB / 3.374 GB, free: 30.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/7.489, allocations: 208.6 kB / 3.374 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/7.489, allocations: 8 kB / 3.374 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/7.49, allocations: 19.97 kB / 3.374 GB, free: 30.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/7.49, allocations: 4 kB / 3.374 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/7.49, allocations: 3.938 kB / 3.374 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002266/7.492, allocations: 1.525 MB / 3.375 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002856/7.495, allocations: 2.404 MB / 3.378 GB, free: 26.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/7.495, allocations: 299.4 kB / 3.378 GB, free: 26.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/7.495, allocations: 7.984 kB / 3.378 GB, free: 26.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/7.497, allocations: 133.3 kB / 3.378 GB, free: 25.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/7.497, allocations: 56.48 kB / 3.378 GB, free: 25.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/7.497, allocations: 31.97 kB / 3.378 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008066/7.498, allocations: 0.6281 MB / 3.379 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002162/7.5, allocations: 435.4 kB / 3.379 GB, free: 24.77 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.001507/7.501, allocations: 0.7133 MB / 3.38 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001249/7.502, allocations: 0.7392 MB / 3.381 GB, free: 23.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/7.503, allocations: 0 / 3.381 GB, free: 23.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005259/7.503, allocations: 414.3 kB / 3.381 GB, free: 23.03 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/7.505, allocations: 310.4 kB / 3.381 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004067/7.509, allocations: 1.814 MB / 3.383 GB, free: 20.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/7.51, allocations: 1.291 MB / 3.385 GB, free: 19.56 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/7.51, allocations: 0 / 3.385 GB, free: 19.56 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)