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: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [: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.001956/0.001956, allocations: 173.3 kB / 7.448 MB, free: 2.004 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6026/0.6026, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.131/1.131, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009002/0.0009001, allocations: 93.78 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.692e-06, allocations: 2.594 kB / 0.5528 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.766/2.886, allocations: 1.868 GB / 2.502 GB, free: 94.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/2.886, allocations: 83.95 kB / 2.502 GB, free: 94.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.6185/3.505, allocations: 246.3 MB / 2.742 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.292e-05/3.505, allocations: 16 kB / 2.742 GB, free: 123.8 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.0008765/3.505, allocations: 0.6382 MB / 2.743 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/3.506, allocations: 12.03 kB / 2.743 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/3.507, allocations: 167.3 kB / 2.743 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/3.507, allocations: 337.8 kB / 2.743 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/3.507, allocations: 4 kB / 2.743 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/3.507, allocations: 20 kB / 2.743 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000295/3.507, allocations: 200.8 kB / 2.744 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/3.508, allocations: 261.8 kB / 2.744 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/3.508, allocations: 0 / 2.744 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/3.508, allocations: 0 / 2.744 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/3.508, allocations: 11.89 kB / 2.744 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/3.509, allocations: 1.091 MB / 2.745 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/3.509, allocations: 218.5 kB / 2.745 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/3.509, allocations: 114.5 kB / 2.745 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004695/3.51, allocations: 469.5 kB / 2.746 GB, free: 120 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.184e-05/3.51, allocations: 42.55 kB / 2.746 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 1.233e-06/3.51, allocations: 0 / 2.746 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0007917/3.511, allocations: 253.5 kB / 2.746 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.314e-05/3.511, allocations: 55.41 kB / 2.746 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/3.511, allocations: 189.1 kB / 2.746 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/3.511, allocations: 25.7 kB / 2.746 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/3.511, allocations: 152.1 kB / 2.746 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/3.511, allocations: 67.03 kB / 2.746 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/3.511, allocations: 0 / 2.746 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.245e-05/3.511, allocations: 338.7 kB / 2.747 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/3.511, allocations: 48.31 kB / 2.747 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.962e-05/3.511, allocations: 108.2 kB / 2.747 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/3.511, allocations: 97.64 kB / 2.747 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/3.511, allocations: 0 / 2.747 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003384/3.512, allocations: 225.2 kB / 2.747 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-06/3.512, allocations: 4 kB / 2.747 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/3.512, allocations: 0 / 2.747 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/3.512, allocations: 8.094 kB / 2.747 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/3.512, allocations: 43.92 kB / 2.747 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/3.512, allocations: 4 kB / 2.747 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/3.512, allocations: 31.81 kB / 2.747 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/3.512, allocations: 12 kB / 2.747 GB, free: 118.2 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 5.045e-05/3.512, allocations: 108.2 kB / 2.747 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/3.512, allocations: 31.56 kB / 2.747 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/3.513, allocations: 219.6 kB / 2.748 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/3.513, allocations: 0 / 2.748 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/3.513, allocations: 0 / 2.748 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/3.513, allocations: 64 / 2.748 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007691/3.513, allocations: 0.7074 MB / 2.748 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/3.513, allocations: 4 kB / 2.748 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/3.514, allocations: 43.91 kB / 2.748 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/3.514, allocations: 4 kB / 2.748 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/3.514, allocations: 4 kB / 2.748 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/3.514, allocations: 8.25 kB / 2.748 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/3.514, allocations: 8 kB / 2.748 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004699/3.514, allocations: 0.5773 MB / 2.749 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/3.514, allocations: 112.8 kB / 2.749 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/3.514, allocations: 7.984 kB / 2.749 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/3.514, allocations: 20.05 kB / 2.749 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/3.514, allocations: 23.83 kB / 2.749 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/3.514, allocations: 15.88 kB / 2.749 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.903e-05/3.515, allocations: 153.2 kB / 2.749 GB, free: 116 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004379/3.515, allocations: 155.8 kB / 2.749 GB, free: 115.8 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.001006/3.516, allocations: 1.187 MB / 2.751 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001994/3.516, allocations: 127.9 kB / 2.751 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/3.516, allocations: 4 kB / 2.751 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.687e-05/3.516, allocations: 75.86 kB / 2.751 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005655/3.517, allocations: 128.2 kB / 2.751 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/3.518, allocations: 455.2 kB / 2.751 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/3.518, allocations: 0.8059 MB / 2.752 GB, free: 113 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/3.518, allocations: 4 kB / 2.752 GB, free: 113 MB / 0.6823 GB Notification: Performance of Templates: time 0.01255/3.53, allocations: 10.32 MB / 2.762 GB, free: 102.7 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)