Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7477/0.7477, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 189.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.1 MB / 399.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009406/0.0009404, allocations: 88.17 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3735/0.3744, allocations: 82.89 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.5896, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.651/6.241, allocations: 2.169 GB / 2.79 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/6.241, allocations: 91.94 kB / 2.791 GB, free: 11.82 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 5.564/11.81, allocations: 1.279 GB / 4.07 GB, free: 72.73 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/11.81, allocations: 8.438 kB / 4.07 GB, free: 72.73 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/11.81, allocations: 384.7 kB / 4.07 GB, free: 72.63 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005168/11.81, allocations: 1.226 MB / 4.072 GB, free: 72.35 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/11.81, allocations: 51.5 kB / 4.072 GB, free: 72.35 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008144/11.82, allocations: 89.78 kB / 4.072 GB, free: 72.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004155/11.82, allocations: 1.19 MB / 4.073 GB, free: 72.34 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004549/11.82, allocations: 1.39 MB / 4.074 GB, free: 72.14 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/11.82, allocations: 3.281 kB / 4.074 GB, free: 72.14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/11.82, allocations: 3.625 kB / 4.074 GB, free: 72.14 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.859e-05/11.82, allocations: 54.83 kB / 4.074 GB, free: 72.13 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/11.84, allocations: 6.553 MB / 4.081 GB, free: 68.71 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/11.84, allocations: 0.605 MB / 4.081 GB, free: 68.69 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008409/11.84, allocations: 382.3 kB / 4.082 GB, free: 68.67 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005159/11.85, allocations: 1.865 MB / 4.083 GB, free: 67.81 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/11.85, allocations: 45.28 kB / 4.084 GB, free: 67.77 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=66): time 4.298e-06/11.85, allocations: 0 / 4.084 GB, free: 67.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66): time 0.003645/11.85, allocations: 0.9386 MB / 4.084 GB, free: 67.63 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/11.85, allocations: 65.47 kB / 4.084 GB, free: 67.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/11.85, allocations: 0.8163 MB / 4.085 GB, free: 67.42 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/11.85, allocations: 27.55 kB / 4.085 GB, free: 67.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/11.85, allocations: 0.6252 MB / 4.086 GB, free: 67.09 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/11.85, allocations: 243.7 kB / 4.086 GB, free: 66.97 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/11.85, allocations: 0 / 4.086 GB, free: 66.97 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001083/11.85, allocations: 354.1 kB / 4.086 GB, free: 66.66 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008034/11.85, allocations: 329.5 kB / 4.087 GB, free: 66.66 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/11.86, allocations: 0.869 MB / 4.088 GB, free: 66 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/11.86, allocations: 0.5826 MB / 4.088 GB, free: 65.99 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/11.86, allocations: 6.094 kB / 4.088 GB, free: 65.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003939/11.86, allocations: 1.341 MB / 4.09 GB, free: 65.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/11.86, allocations: 3.906 kB / 4.09 GB, free: 65.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/11.86, allocations: 18.84 kB / 4.09 GB, free: 65.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/11.86, allocations: 141.4 kB / 4.09 GB, free: 65.83 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/11.86, allocations: 240.1 kB / 4.09 GB, free: 65.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004706/11.87, allocations: 4.508 MB / 4.094 GB, free: 62.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/11.87, allocations: 178.6 kB / 4.095 GB, free: 61.97 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000418/11.87, allocations: 62.7 kB / 4.095 GB, free: 61.97 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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.0008028/11.87, allocations: 150.2 kB / 4.095 GB, free: 61.86 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007817/11.87, allocations: 119.3 kB / 4.095 GB, free: 61.79 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/11.88, allocations: 0.9591 MB / 4.096 GB, free: 61.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/11.88, allocations: 3.188 kB / 4.096 GB, free: 61.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/11.88, allocations: 4.406 kB / 4.096 GB, free: 61.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002359/11.88, allocations: 0.9618 MB / 4.097 GB, free: 61.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00791/11.89, allocations: 2.16 MB / 4.099 GB, free: 61.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/11.89, allocations: 2.375 kB / 4.099 GB, free: 61.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/11.89, allocations: 130.8 kB / 4.099 GB, free: 61.03 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/11.89, allocations: 125.9 kB / 4.099 GB, free: 61.01 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.985e-05/11.89, allocations: 10.78 kB / 4.099 GB, free: 61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004102/11.89, allocations: 4.478 MB / 4.103 GB, free: 57.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/11.89, allocations: 4.438 kB / 4.103 GB, free: 57.19 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003831/11.9, allocations: 1.557 MB / 4.105 GB, free: 56.8 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006022/11.9, allocations: 2.509 MB / 4.107 GB, free: 56.04 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/11.9, allocations: 289.2 kB / 4.108 GB, free: 55.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006501/11.91, allocations: 3.938 kB / 4.108 GB, free: 55.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/11.91, allocations: 59.7 kB / 4.108 GB, free: 55.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/11.91, allocations: 43.19 kB / 4.108 GB, free: 55.87 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/11.91, allocations: 27.36 kB / 4.108 GB, free: 55.87 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001932/11.91, allocations: 0.5982 MB / 4.108 GB, free: 55.76 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.007579/11.92, allocations: 0.9143 MB / 4.109 GB, free: 55.69 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (57): * Single equations (assignments): 54 * 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.00823/11.93, allocations: 2.734 MB / 4.112 GB, free: 54.79 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003685/11.93, allocations: 1.139 MB / 4.113 GB, free: 54.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/11.93, allocations: 1.641 kB / 4.113 GB, free: 54.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/11.93, allocations: 0.6595 MB / 4.114 GB, free: 54.18 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005734/11.94, allocations: 0.5653 MB / 4.114 GB, free: 54.17 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009379/11.95, allocations: 2.061 MB / 4.116 GB, free: 53.62 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002848/11.95, allocations: 1.495 MB / 4.118 GB, free: 52.91 MB / 0.6667 GB Notification: Performance of SimCode: time 2.354e-06/11.95, allocations: 0 / 4.118 GB, free: 52.91 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)