Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM",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.00114/0.00114, allocations: 178.4 kB / 7.798 MB, free: 1.188 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4918/0.4918, allocations: 90.84 MB / 99.06 MB, free: 8.941 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.4 MB / 342.7 MB, free: 4.68 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009156/0.0009156, allocations: 99.59 kB / 415.5 MB, free: 14.23 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1658/0.1668, allocations: 78.47 MB / 494 MB, free: 7.465 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.5424, allocations: 72.3 MB / 0.553 GB, free: 61.65 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.623/4.166, allocations: 1.891 GB / 2.444 GB, free: 171.8 MB / 0.5964 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/4.166, allocations: 92.89 kB / 2.444 GB, free: 171.8 MB / 0.5964 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 4.183/8.349, allocations: 1.303 GB / 3.747 GB, free: 24.84 MB / 0.6277 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/8.349, allocations: 11.94 kB / 3.747 GB, free: 24.82 MB / 0.6277 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/8.351, allocations: 413.5 kB / 3.747 GB, free: 24.42 MB / 0.6277 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/8.353, allocations: 1.168 MB / 3.748 GB, free: 23.19 MB / 0.6277 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/8.354, allocations: 40 kB / 3.748 GB, free: 23.15 MB / 0.6277 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/8.354, allocations: 80 kB / 3.748 GB, free: 23.07 MB / 0.6277 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001805/8.356, allocations: 1.161 MB / 3.75 GB, free: 21.91 MB / 0.6277 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/8.358, allocations: 1.336 MB / 3.751 GB, free: 20.5 MB / 0.6277 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/8.358, allocations: 0 / 3.751 GB, free: 20.5 MB / 0.6277 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/8.358, allocations: 4 kB / 3.751 GB, free: 20.5 MB / 0.6277 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/8.358, allocations: 50.39 kB / 3.751 GB, free: 20.45 MB / 0.6277 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007009/8.365, allocations: 6.581 MB / 3.757 GB, free: 13.46 MB / 0.6277 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/8.366, allocations: 0.8813 MB / 3.758 GB, free: 12.57 MB / 0.6277 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/8.366, allocations: 451.4 kB / 3.759 GB, free: 12.13 MB / 0.6277 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006859/8.367, allocations: 417 kB / 3.759 GB, free: 11.65 MB / 0.6277 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/8.367, allocations: 47.22 kB / 3.759 GB, free: 11.59 MB / 0.6277 GB Notification: Performance of pre-optimization done (n=82): time 4.198e-06/8.367, allocations: 3.938 kB / 3.759 GB, free: 11.59 MB / 0.6277 GB Notification: Performance of matching and sorting (n=84): time 0.006027/8.373, allocations: 2.596 MB / 3.762 GB, free: 8.93 MB / 0.6277 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/8.373, allocations: 60.19 kB / 3.762 GB, free: 8.855 MB / 0.6277 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/8.374, allocations: 0.7216 MB / 3.762 GB, free: 8.117 MB / 0.6277 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/8.374, allocations: 29.64 kB / 3.762 GB, free: 8.082 MB / 0.6277 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/8.374, allocations: 0.5258 MB / 3.763 GB, free: 7.547 MB / 0.6277 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/8.375, allocations: 291.6 kB / 3.763 GB, free: 7.258 MB / 0.6277 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/8.375, allocations: 0 / 3.763 GB, free: 7.258 MB / 0.6277 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/8.375, allocations: 345.9 kB / 3.763 GB, free: 6.914 MB / 0.6277 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/8.375, allocations: 353.9 kB / 3.764 GB, free: 6.566 MB / 0.6277 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/8.376, allocations: 0.7049 MB / 3.765 GB, free: 5.711 MB / 0.6277 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/8.379, allocations: 1.196 MB / 3.766 GB, free: 4.5 MB / 0.6277 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/8.379, allocations: 7.938 kB / 3.766 GB, free: 4.492 MB / 0.6277 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002294/8.381, allocations: 1.329 MB / 3.767 GB, free: 3.145 MB / 0.6277 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/8.381, allocations: 4 kB / 3.767 GB, free: 3.141 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/8.381, allocations: 8.75 kB / 3.767 GB, free: 3.133 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/8.382, allocations: 150.4 kB / 3.767 GB, free: 2.977 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/8.382, allocations: 203.7 kB / 3.767 GB, free: 2.777 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.312/8.694, allocations: 4.538 MB / 3.772 GB, free: 120.3 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/8.696, allocations: 89.84 kB / 3.772 GB, free: 120.3 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/8.697, allocations: 52.75 kB / 3.772 GB, free: 120.3 MB / 0.6277 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 113 * 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.0002712/8.697, allocations: 131.5 kB / 3.772 GB, free: 120.2 MB / 0.6277 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/8.697, allocations: 121.6 kB / 3.772 GB, free: 120.2 MB / 0.6277 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/8.699, allocations: 1.17 MB / 3.773 GB, free: 120.1 MB / 0.6277 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/8.699, allocations: 8.094 kB / 3.773 GB, free: 120.1 MB / 0.6277 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/8.699, allocations: 1.875 kB / 3.773 GB, free: 120.1 MB / 0.6277 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001727/8.701, allocations: 1.168 MB / 3.774 GB, free: 119.8 MB / 0.6277 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00562/8.707, allocations: 3.017 MB / 3.777 GB, free: 119 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/8.707, allocations: 7.281 kB / 3.777 GB, free: 119 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/8.708, allocations: 153.3 kB / 3.778 GB, free: 119 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003258/8.708, allocations: 139.2 kB / 3.778 GB, free: 119 MB / 0.6277 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.083e-05/8.708, allocations: 13.59 kB / 3.778 GB, free: 119 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/8.711, allocations: 4.536 MB / 3.782 GB, free: 115.3 MB / 0.6277 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/8.711, allocations: 4.875 kB / 3.782 GB, free: 115.3 MB / 0.6277 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002735/8.713, allocations: 2.095 MB / 3.784 GB, free: 114.5 MB / 0.6277 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003571/8.717, allocations: 3.127 MB / 3.787 GB, free: 113.3 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000592/8.718, allocations: 283.4 kB / 3.787 GB, free: 113.2 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/8.718, allocations: 10.41 kB / 3.787 GB, free: 113.2 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009076/8.719, allocations: 63.77 kB / 3.788 GB, free: 113.2 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/8.719, allocations: 61.84 kB / 3.788 GB, free: 113.2 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.828e-05/8.719, allocations: 41.36 kB / 3.788 GB, free: 113.2 MB / 0.6277 GB Notification: Performance of sort global known variables: time 0.0006746/8.72, allocations: 0.5361 MB / 3.788 GB, free: 113.1 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.003052/8.723, allocations: 0.8387 MB / 3.789 GB, free: 113.1 MB / 0.6277 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (75): * Single equations (assignments): 72 * 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.002999/8.726, allocations: 2.708 MB / 3.792 GB, free: 112.2 MB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.0015/8.727, allocations: 1.167 MB / 3.793 GB, free: 111.9 MB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/8.727, allocations: 0 / 3.793 GB, free: 111.9 MB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 0.0006414/8.728, allocations: 0.7198 MB / 3.793 GB, free: 111.6 MB / 0.6277 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/8.73, allocations: 0.5782 MB / 3.794 GB, free: 111.6 MB / 0.6277 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/8.735, allocations: 2.208 MB / 3.796 GB, free: 110.9 MB / 0.6277 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/8.736, allocations: 1.506 MB / 3.798 GB, free: 110.2 MB / 0.6277 GB Notification: Performance of SimCode: time 1.022e-06/8.736, allocations: 0 / 3.798 GB, free: 110.2 MB / 0.6277 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)