Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7836/0.7836, allocations: 141.8 MB / 149.1 MB, free: 13.59 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 178.4 kB / 181.9 MB, free: 10.22 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.3 MB / 436 MB, free: 2.738 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 109.2 kB / 0.507 GB, free: 17.79 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001881/0.001881, allocations: 276.9 kB / 0.5884 GB, free: 4.199 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.131e-05/1.134e-05, allocations: 3.125 kB / 0.6759 GB, free: 137 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1919, allocations: 82.79 MB / 0.7567 GB, free: 83.99 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.522/4.714, allocations: 1.898 GB / 2.655 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/4.714, allocations: 87.95 kB / 2.655 GB, free: 103.5 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.416/10.13, allocations: 1.295 GB / 3.95 GB, free: 97.55 MB / 0.7294 GB Notification: Performance of Transformations before backend: time 0.0002468/10.13, allocations: 47.52 kB / 3.95 GB, free: 97.54 MB / 0.7294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.007715/10.14, allocations: 1.818 MB / 3.951 GB, free: 96.75 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/10.14, allocations: 10.28 kB / 3.951 GB, free: 96.75 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003639/10.14, allocations: 388.6 kB / 3.952 GB, free: 96.66 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004579/10.15, allocations: 1.151 MB / 3.953 GB, free: 96.32 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/10.15, allocations: 42.27 kB / 3.953 GB, free: 96.32 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006739/10.15, allocations: 82.97 kB / 3.953 GB, free: 96.32 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003872/10.15, allocations: 1.139 MB / 3.954 GB, free: 96.32 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004768/10.16, allocations: 1.33 MB / 3.955 GB, free: 96.12 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/10.16, allocations: 3.812 kB / 3.955 GB, free: 96.12 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/10.16, allocations: 6.25 kB / 3.955 GB, free: 96.12 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.15e-05/10.16, allocations: 52.52 kB / 3.955 GB, free: 96.11 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/10.17, allocations: 6.416 MB / 3.962 GB, free: 92.71 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/10.17, allocations: 0.5952 MB / 3.962 GB, free: 92.69 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006544/10.17, allocations: 400.9 kB / 3.963 GB, free: 92.68 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000711/10.17, allocations: 412.1 kB / 3.963 GB, free: 92.3 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/10.17, allocations: 49.69 kB / 3.963 GB, free: 92.26 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=73): time 3.787e-06/10.17, allocations: 0 / 3.963 GB, free: 92.26 MB / 0.7294 GB Notification: Performance of matching and sorting (n=73): time 0.003052/10.17, allocations: 1.048 MB / 3.964 GB, free: 92.13 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/10.17, allocations: 58.88 kB / 3.964 GB, free: 92.07 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/10.18, allocations: 0.7342 MB / 3.965 GB, free: 91.92 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/10.18, allocations: 35.7 kB / 3.965 GB, free: 91.89 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005222/10.18, allocations: 0.548 MB / 3.965 GB, free: 91.55 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/10.18, allocations: 254 kB / 3.966 GB, free: 91.39 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/10.18, allocations: 0 / 3.966 GB, free: 91.39 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 0.0001039/10.18, allocations: 343.4 kB / 3.966 GB, free: 91.09 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/10.18, allocations: 328.9 kB / 3.966 GB, free: 91.09 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000818/10.18, allocations: 0.7034 MB / 3.967 GB, free: 90.64 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/10.18, allocations: 0.5781 MB / 3.968 GB, free: 90.63 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/10.18, allocations: 3.969 kB / 3.968 GB, free: 90.63 MB / 0.7294 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002615/10.18, allocations: 1.27 MB / 3.969 GB, free: 90.5 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/10.18, allocations: 10.45 kB / 3.969 GB, free: 90.5 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/10.18, allocations: 6.812 kB / 3.969 GB, free: 90.5 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000458/10.18, allocations: 145 kB / 3.969 GB, free: 90.48 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/10.18, allocations: 198.9 kB / 3.969 GB, free: 90.48 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/10.19, allocations: 4.551 MB / 3.974 GB, free: 86.66 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/10.19, allocations: 120.4 kB / 3.974 GB, free: 86.61 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/10.19, allocations: 46.44 kB / 3.974 GB, free: 86.61 MB / 0.7294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 109 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002576/10.19, allocations: 131.3 kB / 3.974 GB, free: 86.5 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/10.19, allocations: 119.9 kB / 3.974 GB, free: 86.45 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/10.19, allocations: 1.105 MB / 3.975 GB, free: 86.32 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/10.19, allocations: 5.5 kB / 3.975 GB, free: 86.32 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/10.19, allocations: 0 / 3.975 GB, free: 86.32 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/10.19, allocations: 1.015 MB / 3.976 GB, free: 86.03 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004645/10.2, allocations: 2.315 MB / 3.978 GB, free: 85.61 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/10.2, allocations: 6.594 kB / 3.978 GB, free: 85.61 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/10.2, allocations: 133.3 kB / 3.979 GB, free: 85.61 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/10.2, allocations: 129.4 kB / 3.979 GB, free: 85.59 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/10.2, allocations: 15.3 kB / 3.979 GB, free: 85.59 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002851/10.2, allocations: 4.536 MB / 3.983 GB, free: 81.78 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/10.2, allocations: 10.72 kB / 3.983 GB, free: 81.78 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002489/10.2, allocations: 1.701 MB / 3.985 GB, free: 81.3 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009035/10.2, allocations: 291.6 kB / 3.985 GB, free: 81.14 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000405/10.2, allocations: 5.969 kB / 3.985 GB, free: 81.14 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/10.21, allocations: 47.19 kB / 3.985 GB, free: 81.13 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/10.21, allocations: 48.44 kB / 3.985 GB, free: 81.12 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/10.21, allocations: 30.16 kB / 3.985 GB, free: 81.12 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.00105/10.21, allocations: 0.5589 MB / 3.986 GB, free: 81.02 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.00304/10.21, allocations: 0.6192 MB / 3.986 GB, free: 80.95 MB / 0.7294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004205/10.21, allocations: 2.697 MB / 3.989 GB, free: 80.05 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.001917/10.22, allocations: 1.107 MB / 3.99 GB, free: 79.74 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/10.22, allocations: 7.531 kB / 3.99 GB, free: 79.74 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007709/10.22, allocations: 0.672 MB / 3.991 GB, free: 79.43 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/10.22, allocations: 0.5533 MB / 3.991 GB, free: 79.43 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/10.23, allocations: 2.062 MB / 3.993 GB, free: 78.86 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/10.23, allocations: 1.468 MB / 3.995 GB, free: 78.14 MB / 0.7294 GB Notification: Performance of SimCode: time 1.001e-06/10.23, allocations: 0.7656 kB / 3.995 GB, free: 78.14 MB / 0.7294 GB Notification: Performance of Templates: time 0.06511/10.29, allocations: 35.88 MB / 4.03 GB, free: 66.21 MB / 0.7294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)