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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7006/0.7006, allocations: 141.8 MB / 149.1 MB, free: 13.14 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.001116/0.001116, allocations: 188.5 kB / 181.9 MB, free: 9.812 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.244/1.244, allocations: 221.3 MB / 436 MB, free: 2.23 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.0009218/0.0009218, allocations: 96.83 kB / 0.507 GB, free: 11 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001845, allocations: 279.2 kB / 0.5884 GB, free: 7.832 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1769/0.1787, allocations: 89.64 MB / 0.676 GB, free: 14.11 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.5097, allocations: 82.77 MB / 0.7568 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.233/3.743, allocations: 1.898 GB / 2.655 GB, free: 99.42 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/3.743, allocations: 87.59 kB / 2.655 GB, free: 99.38 MB / 0.6982 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.35/8.093, allocations: 1.297 GB / 3.951 GB, free: 98.68 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/8.093, allocations: 7.625 kB / 3.951 GB, free: 98.68 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/8.097, allocations: 394.2 kB / 3.952 GB, free: 98.59 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/8.1, allocations: 1.148 MB / 3.953 GB, free: 98.25 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.005e-05/8.1, allocations: 43.98 kB / 3.953 GB, free: 98.25 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004916/8.101, allocations: 81.81 kB / 3.953 GB, free: 98.25 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002653/8.104, allocations: 1.136 MB / 3.954 GB, free: 98.24 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/8.107, allocations: 1.346 MB / 3.955 GB, free: 98.04 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/8.107, allocations: 3.656 kB / 3.955 GB, free: 98.04 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/8.107, allocations: 7.188 kB / 3.955 GB, free: 98.04 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.156e-05/8.107, allocations: 53.2 kB / 3.956 GB, free: 98.03 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008677/8.116, allocations: 6.407 MB / 3.962 GB, free: 94.64 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/8.117, allocations: 0.5929 MB / 3.962 GB, free: 94.61 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/8.117, allocations: 400.5 kB / 3.963 GB, free: 94.61 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/8.118, allocations: 415 kB / 3.963 GB, free: 94.23 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/8.118, allocations: 45.34 kB / 3.963 GB, free: 94.18 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=73): time 2.996e-06/8.118, allocations: 3.812 kB / 3.963 GB, free: 94.18 MB / 0.7294 GB Notification: Performance of matching and sorting (n=73): time 0.002511/8.12, allocations: 1.043 MB / 3.964 GB, free: 94.06 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/8.12, allocations: 68.88 kB / 3.964 GB, free: 93.99 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/8.121, allocations: 0.7267 MB / 3.965 GB, free: 93.85 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/8.122, allocations: 34.2 kB / 3.965 GB, free: 93.82 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/8.122, allocations: 0.5515 MB / 3.966 GB, free: 93.48 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/8.122, allocations: 254.5 kB / 3.966 GB, free: 93.32 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/8.122, allocations: 0 / 3.966 GB, free: 93.32 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/8.122, allocations: 350.8 kB / 3.966 GB, free: 93.01 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/8.123, allocations: 324.1 kB / 3.966 GB, free: 93.01 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/8.123, allocations: 0.6973 MB / 3.967 GB, free: 92.56 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/8.124, allocations: 0.5798 MB / 3.968 GB, free: 92.55 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/8.124, allocations: 2.125 kB / 3.968 GB, free: 92.55 MB / 0.7294 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002184/8.127, allocations: 1.277 MB / 3.969 GB, free: 92.42 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/8.127, allocations: 3.438 kB / 3.969 GB, free: 92.42 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/8.127, allocations: 10.78 kB / 3.969 GB, free: 92.42 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/8.127, allocations: 148.9 kB / 3.969 GB, free: 92.4 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/8.128, allocations: 192.3 kB / 3.969 GB, free: 92.4 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/8.131, allocations: 4.553 MB / 3.974 GB, free: 88.58 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/8.132, allocations: 123 kB / 3.974 GB, free: 88.54 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/8.132, allocations: 50.05 kB / 3.974 GB, free: 88.54 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.0002439/8.133, allocations: 135.7 kB / 3.974 GB, free: 88.42 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/8.133, allocations: 108.6 kB / 3.974 GB, free: 88.37 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/8.135, allocations: 1.111 MB / 3.975 GB, free: 88.24 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/8.135, allocations: 9.594 kB / 3.975 GB, free: 88.24 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/8.135, allocations: 0 / 3.975 GB, free: 88.24 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001376/8.136, allocations: 1.01 MB / 3.976 GB, free: 87.95 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004401/8.141, allocations: 2.306 MB / 3.978 GB, free: 87.54 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/8.141, allocations: 7.859 kB / 3.978 GB, free: 87.54 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007172/8.142, allocations: 129.4 kB / 3.979 GB, free: 87.54 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003366/8.142, allocations: 146.9 kB / 3.979 GB, free: 87.51 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-05/8.142, allocations: 8.5 kB / 3.979 GB, free: 87.51 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003017/8.145, allocations: 4.531 MB / 3.983 GB, free: 83.7 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/8.145, allocations: 5.688 kB / 3.983 GB, free: 83.7 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002419/8.148, allocations: 1.702 MB / 3.985 GB, free: 83.22 MB / 0.7294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003286/8.151, allocations: 2.698 MB / 3.987 GB, free: 82.36 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007909/8.152, allocations: 287.2 kB / 3.988 GB, free: 82.2 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/8.152, allocations: 10.75 kB / 3.988 GB, free: 82.2 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/8.153, allocations: 52.22 kB / 3.988 GB, free: 82.2 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/8.153, allocations: 47.56 kB / 3.988 GB, free: 82.19 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.327e-05/8.153, allocations: 30.8 kB / 3.988 GB, free: 82.19 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.001003/8.154, allocations: 0.5594 MB / 3.988 GB, free: 82.08 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.004723/8.159, allocations: 0.9241 MB / 3.989 GB, free: 82.01 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.004391/8.164, allocations: 2.696 MB / 3.992 GB, free: 81.11 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.001837/8.165, allocations: 1.101 MB / 3.993 GB, free: 80.8 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/8.165, allocations: 6.969 kB / 3.993 GB, free: 80.8 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007201/8.166, allocations: 0.672 MB / 3.994 GB, free: 80.5 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/8.169, allocations: 0.5668 MB / 3.994 GB, free: 80.48 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/8.175, allocations: 2.059 MB / 3.996 GB, free: 79.92 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/8.176, allocations: 1.479 MB / 3.998 GB, free: 79.2 MB / 0.7294 GB Notification: Performance of SimCode: time 1.272e-06/8.176, allocations: 3 kB / 3.998 GB, free: 79.2 MB / 0.7294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)