Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2926/0.2926, allocations: 54.39 MB / 61.67 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001402/0.001402, allocations: 184.6 kB / 75.38 MB, free: 1.469 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.901/1.901, allocations: 194.2 MB / 283.2 MB, free: 3.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001739/0.001739, allocations: 113.3 kB / 341.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.148e-06/9.187e-06, allocations: 4 kB / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1431, allocations: 57.64 MB / 462.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.704/4.847, allocations: 2.119 GB / 2.571 GB, free: 85.26 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/4.847, allocations: 83.95 kB / 2.571 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.7896/5.637, allocations: 238.3 MB / 2.804 GB, free: 47.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.369e-05/5.637, allocations: 15.98 kB / 2.804 GB, free: 47.25 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002371/5.639, allocations: 0.7094 MB / 2.804 GB, free: 46.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/5.639, allocations: 15.97 kB / 2.804 GB, free: 46.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/5.641, allocations: 163.2 kB / 2.804 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/5.642, allocations: 390.3 kB / 2.805 GB, free: 45.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/5.642, allocations: 12 kB / 2.805 GB, free: 45.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/5.642, allocations: 20 kB / 2.805 GB, free: 45.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006797/5.643, allocations: 309.5 kB / 2.805 GB, free: 45.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/5.644, allocations: 382.2 kB / 2.805 GB, free: 45.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/5.644, allocations: 4 kB / 2.805 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/5.644, allocations: 4 kB / 2.805 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/5.644, allocations: 15.84 kB / 2.805 GB, free: 45.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/5.647, allocations: 1.456 MB / 2.807 GB, free: 43.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/5.647, allocations: 174.5 kB / 2.807 GB, free: 43.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/5.647, allocations: 97.12 kB / 2.807 GB, free: 43.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000492/5.648, allocations: 295.2 kB / 2.807 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/5.648, allocations: 34.56 kB / 2.807 GB, free: 42.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.856e-06/5.648, allocations: 4 kB / 2.807 GB, free: 42.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0009875/5.649, allocations: 234.8 kB / 2.808 GB, free: 42.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/5.649, allocations: 55.41 kB / 2.808 GB, free: 42.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/5.649, allocations: 239.3 kB / 2.808 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/5.649, allocations: 25.7 kB / 2.808 GB, free: 42.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/5.649, allocations: 211.6 kB / 2.808 GB, free: 42.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/5.649, allocations: 63.09 kB / 2.808 GB, free: 42.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/5.649, allocations: 0 / 2.808 GB, free: 42.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001203/5.65, allocations: 342.8 kB / 2.809 GB, free: 41.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/5.65, allocations: 59.98 kB / 2.809 GB, free: 41.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/5.65, allocations: 141.3 kB / 2.809 GB, free: 41.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/5.65, allocations: 124.6 kB / 2.809 GB, free: 41.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/5.65, allocations: 0 / 2.809 GB, free: 41.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005271/5.651, allocations: 290.3 kB / 2.809 GB, free: 41.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/5.651, allocations: 4 kB / 2.809 GB, free: 41.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/5.651, allocations: 0 / 2.809 GB, free: 41.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/5.651, allocations: 11.91 kB / 2.809 GB, free: 41.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/5.651, allocations: 64.16 kB / 2.809 GB, free: 41.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/5.651, allocations: 4 kB / 2.809 GB, free: 41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/5.651, allocations: 39.75 kB / 2.809 GB, free: 40.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/5.651, allocations: 11.91 kB / 2.809 GB, free: 40.95 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001125/5.651, allocations: 112.9 kB / 2.809 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/5.652, allocations: 23.72 kB / 2.809 GB, free: 40.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/5.652, allocations: 235.6 kB / 2.81 GB, free: 40.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/5.652, allocations: 0 / 2.81 GB, free: 40.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/5.652, allocations: 4 kB / 2.81 GB, free: 40.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/5.652, allocations: 3.906 kB / 2.81 GB, free: 40.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/5.653, allocations: 0.7372 MB / 2.81 GB, free: 39.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/5.653, allocations: 4 kB / 2.81 GB, free: 39.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/5.653, allocations: 48.22 kB / 2.81 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/5.653, allocations: 8.031 kB / 2.81 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/5.653, allocations: 8 kB / 2.81 GB, free: 39.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/5.653, allocations: 4 kB / 2.81 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/5.653, allocations: 0 / 2.81 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006244/5.654, allocations: 0.5641 MB / 2.811 GB, free: 39.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/5.654, allocations: 140.8 kB / 2.811 GB, free: 38.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/5.654, allocations: 8 kB / 2.811 GB, free: 38.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/5.655, allocations: 23.97 kB / 2.811 GB, free: 38.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/5.655, allocations: 27.83 kB / 2.811 GB, free: 38.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/5.655, allocations: 15.98 kB / 2.811 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001556/5.655, allocations: 187.1 kB / 2.811 GB, free: 38.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007428/5.656, allocations: 187.6 kB / 2.812 GB, free: 38.41 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (18): * Single equations (assignments): 18 * 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.001637/5.657, allocations: 1.197 MB / 2.813 GB, free: 37.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003004/5.658, allocations: 163.8 kB / 2.813 GB, free: 37.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/5.658, allocations: 0 / 2.813 GB, free: 37.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/5.658, allocations: 84.91 kB / 2.813 GB, free: 36.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007627/5.659, allocations: 144.5 kB / 2.813 GB, free: 36.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009046/5.659, allocations: 0.501 MB / 2.814 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/5.66, allocations: 0.8492 MB / 2.814 GB, free: 35.4 MB / 0.4948 GB Notification: Performance of SimCode: time 3.1e-07/5.66, allocations: 0 / 2.814 GB, free: 35.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.01737/5.677, allocations: 11.64 MB / 2.826 GB, free: 23.77 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)