Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",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.003715/0.003716, allocations: 186.7 kB / 7.461 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6951/0.6951, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.534/1.534, 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.0009652/0.0009652, allocations: 87.55 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4669/0.468, allocations: 88.43 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.6616, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.203/4.864, allocations: 1.83 GB / 2.463 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/4.865, allocations: 83.95 kB / 2.463 GB, free: 133.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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.842/5.707, allocations: 222.1 MB / 2.68 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/5.707, allocations: 12 kB / 2.68 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/5.707, allocations: 55.66 kB / 2.68 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/5.708, allocations: 312.8 kB / 2.681 GB, free: 185 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/5.708, allocations: 4 kB / 2.681 GB, free: 185 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/5.708, allocations: 15.98 kB / 2.681 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001724/5.708, allocations: 83.97 kB / 2.681 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/5.708, allocations: 168 kB / 2.681 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/5.708, allocations: 0 / 2.681 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/5.708, allocations: 0 / 2.681 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/5.708, allocations: 4 kB / 2.681 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008609/5.709, allocations: 0.7497 MB / 2.682 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/5.709, allocations: 62.5 kB / 2.682 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/5.709, allocations: 56.89 kB / 2.682 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/5.709, allocations: 194.1 kB / 2.682 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/5.71, allocations: 38.56 kB / 2.682 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/5.71, allocations: 0 / 2.682 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004338/5.71, allocations: 141.6 kB / 2.682 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/5.71, allocations: 51.41 kB / 2.682 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/5.71, allocations: 188.3 kB / 2.682 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/5.71, allocations: 29.64 kB / 2.682 GB, free: 183 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/5.71, allocations: 132.1 kB / 2.683 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/5.71, allocations: 31.55 kB / 2.683 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/5.71, allocations: 0 / 2.683 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.054e-05/5.71, allocations: 330.7 kB / 2.683 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-05/5.71, allocations: 27.98 kB / 2.683 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/5.71, allocations: 82.86 kB / 2.683 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/5.711, allocations: 47.89 kB / 2.683 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/5.711, allocations: 0 / 2.683 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000165/5.711, allocations: 117.4 kB / 2.683 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/5.711, allocations: 362.8 kB / 2.684 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/5.711, allocations: 4 kB / 2.684 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/5.711, allocations: 3.984 kB / 2.684 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/5.711, allocations: 23.98 kB / 2.684 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/5.711, allocations: 7.938 kB / 2.684 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/5.711, allocations: 27.89 kB / 2.684 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/5.711, allocations: 4 kB / 2.684 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-06/5.711, allocations: 4.281 kB / 2.684 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001205/5.711, allocations: 71.89 kB / 2.684 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/5.711, allocations: 4.109 kB / 2.684 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-06/5.711, allocations: 3.938 kB / 2.684 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/5.711, allocations: 23.98 kB / 2.684 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/5.711, allocations: 7.984 kB / 2.684 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/5.712, allocations: 31.81 kB / 2.684 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/5.712, allocations: 4 kB / 2.684 GB, free: 181.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.939e-05/5.712, allocations: 112.9 kB / 2.684 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/5.712, allocations: 19.72 kB / 2.684 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/5.712, allocations: 123.3 kB / 2.684 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/5.712, allocations: 3.984 kB / 2.684 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/5.712, allocations: 0 / 2.684 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/5.712, allocations: 0 / 2.684 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/5.713, allocations: 0.5124 MB / 2.685 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/5.713, allocations: 4.219 kB / 2.685 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/5.713, allocations: 27.97 kB / 2.685 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/5.713, allocations: 7.984 kB / 2.685 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/5.713, allocations: 7.938 kB / 2.685 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/5.713, allocations: 0 / 2.685 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/5.713, allocations: 7.906 kB / 2.685 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002117/5.713, allocations: 349.1 kB / 2.685 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003873/5.713, allocations: 0.7475 MB / 2.686 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/5.713, allocations: 108.8 kB / 2.686 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/5.714, allocations: 7.984 kB / 2.686 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/5.714, allocations: 19.98 kB / 2.686 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/5.714, allocations: 11.98 kB / 2.686 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/5.714, allocations: 4.281 kB / 2.686 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.547e-05/5.714, allocations: 156.5 kB / 2.686 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002101/5.716, allocations: 343.7 kB / 2.686 GB, free: 178.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.001259/5.717, allocations: 1.039 MB / 2.687 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002224/5.718, allocations: 121.1 kB / 2.687 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/5.718, allocations: 0 / 2.687 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.781e-05/5.718, allocations: 51.86 kB / 2.687 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/5.718, allocations: 102 kB / 2.688 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/5.719, allocations: 298.4 kB / 2.688 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/5.719, allocations: 0.7907 MB / 2.689 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/5.719, allocations: 0 / 2.689 GB, free: 176.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)