Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",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.005233/0.005233, allocations: 182.6 kB / 7.463 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7177/0.7177, 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.449/1.449, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009975/0.0009976, allocations: 103.2 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4298/0.4308, allocations: 88.43 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.6063, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.916/4.522, allocations: 1.868 GB / 2.502 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/4.522, allocations: 87.45 kB / 2.502 GB, free: 80.29 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.8867/5.409, allocations: 246.9 MB / 2.743 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/5.409, allocations: 8 kB / 2.743 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/5.411, allocations: 163.4 kB / 2.743 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/5.411, allocations: 341.8 kB / 2.743 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/5.412, allocations: 15.94 kB / 2.743 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/5.412, allocations: 16 kB / 2.743 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003956/5.412, allocations: 208.8 kB / 2.744 GB, free: 109 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/5.412, allocations: 249.8 kB / 2.744 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/5.412, allocations: 0 / 2.744 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/5.412, allocations: 4 kB / 2.744 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/5.412, allocations: 7.906 kB / 2.744 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/5.414, allocations: 1.086 MB / 2.745 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/5.415, allocations: 214.6 kB / 2.745 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/5.415, allocations: 114.5 kB / 2.745 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006448/5.415, allocations: 469.5 kB / 2.746 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/5.415, allocations: 30.56 kB / 2.746 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 2.575e-06/5.415, allocations: 3.984 kB / 2.746 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.00103/5.416, allocations: 265.5 kB / 2.746 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/5.417, allocations: 51.41 kB / 2.746 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/5.417, allocations: 193.1 kB / 2.746 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/5.417, allocations: 25.7 kB / 2.746 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/5.417, allocations: 144.2 kB / 2.746 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/5.417, allocations: 67.03 kB / 2.746 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/5.417, allocations: 0 / 2.746 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/5.417, allocations: 338.7 kB / 2.747 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/5.417, allocations: 48.36 kB / 2.747 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/5.417, allocations: 111 kB / 2.747 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/5.417, allocations: 108.8 kB / 2.747 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/5.418, allocations: 4 kB / 2.747 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003973/5.418, allocations: 213.7 kB / 2.747 GB, free: 105 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/5.418, allocations: 11.98 kB / 2.747 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/5.418, allocations: 0 / 2.747 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/5.418, allocations: 4 kB / 2.747 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/5.418, allocations: 47.92 kB / 2.747 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/5.418, allocations: 4.094 kB / 2.747 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/5.418, allocations: 31.81 kB / 2.747 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/5.418, allocations: 8 kB / 2.747 GB, free: 104.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 7.681e-05/5.419, allocations: 108.9 kB / 2.747 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/5.419, allocations: 31.62 kB / 2.748 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/5.419, allocations: 222.7 kB / 2.748 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/5.419, allocations: 4 kB / 2.748 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/5.419, allocations: 0 / 2.748 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/5.419, allocations: 0 / 2.748 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009167/5.42, allocations: 0.695 MB / 2.748 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/5.42, allocations: 7.938 kB / 2.748 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/5.42, allocations: 52.31 kB / 2.748 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/5.42, allocations: 4 kB / 2.748 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/5.42, allocations: 4 kB / 2.748 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/5.42, allocations: 7.906 kB / 2.748 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/5.42, allocations: 11.88 kB / 2.748 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005748/5.421, allocations: 0.5734 MB / 2.749 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008506/5.422, allocations: 1.063 MB / 2.75 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/5.422, allocations: 128.6 kB / 2.75 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/5.422, allocations: 8.062 kB / 2.75 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/5.422, allocations: 15.98 kB / 2.75 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/5.422, allocations: 11.98 kB / 2.75 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/5.422, allocations: 15.91 kB / 2.75 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001207/5.422, allocations: 157.2 kB / 2.75 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001507/5.424, allocations: 259.8 kB / 2.751 GB, free: 101.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002141/5.426, allocations: 1.195 MB / 2.752 GB, free: 99.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003441/5.426, allocations: 134.7 kB / 2.752 GB, free: 99.86 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/5.426, allocations: 0 / 2.752 GB, free: 99.86 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/5.427, allocations: 75.86 kB / 2.752 GB, free: 99.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/5.427, allocations: 121.3 kB / 2.752 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/5.428, allocations: 450.5 kB / 2.753 GB, free: 99.17 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/5.429, allocations: 0.8215 MB / 2.753 GB, free: 98.32 MB / 0.6823 GB Notification: Performance of SimCode: time 1.312e-06/5.429, allocations: 4 kB / 2.753 GB, free: 98.32 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)