Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_IDEAS_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.005649/0.005649, allocations: 185.6 kB / 7.459 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7291/0.7291, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.671/1.671, allocations: 221.3 MB / 395 MB, free: 10.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 92.61 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5337/0.5349, allocations: 88.43 MB / 0.5529 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.7558, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.741/5.497, allocations: 1.901 GB / 2.534 GB, free: 61.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/5.498, allocations: 87.95 kB / 2.534 GB, free: 61.05 MB / 0.6823 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 5.478/10.98, allocations: 1.298 GB / 3.832 GB, free: 78.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/10.98, allocations: 15.88 kB / 3.832 GB, free: 78.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/10.98, allocations: 426.4 kB / 3.832 GB, free: 78.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003897/10.98, allocations: 1.171 MB / 3.833 GB, free: 77.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/10.98, allocations: 40 kB / 3.833 GB, free: 77.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005276/10.98, allocations: 83.91 kB / 3.833 GB, free: 77.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00281/10.99, allocations: 1.149 MB / 3.834 GB, free: 76.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00347/10.99, allocations: 1.34 MB / 3.836 GB, free: 74.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/10.99, allocations: 0 / 3.836 GB, free: 74.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/10.99, allocations: 4 kB / 3.836 GB, free: 74.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.227e-05/10.99, allocations: 46.45 kB / 3.836 GB, free: 74.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009881/11, allocations: 6.413 MB / 3.842 GB, free: 67.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/11, allocations: 0.8763 MB / 3.843 GB, free: 66.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/11, allocations: 451.4 kB / 3.843 GB, free: 66.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006551/11, allocations: 411.3 kB / 3.844 GB, free: 66.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/11, allocations: 47.2 kB / 3.844 GB, free: 66.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.165e-06/11, allocations: 0 / 3.844 GB, free: 66.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.006153/11.01, allocations: 2.602 MB / 3.846 GB, free: 63.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/11.01, allocations: 60.19 kB / 3.846 GB, free: 63.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/11.01, allocations: 0.7139 MB / 3.847 GB, free: 62.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/11.01, allocations: 33.14 kB / 3.847 GB, free: 62.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/11.01, allocations: 0.5296 MB / 3.848 GB, free: 61.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/11.01, allocations: 283.7 kB / 3.848 GB, free: 61.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/11.01, allocations: 0 / 3.848 GB, free: 61.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/11.01, allocations: 345.9 kB / 3.848 GB, free: 61.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/11.01, allocations: 349.9 kB / 3.849 GB, free: 61.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006995/11.01, allocations: 0.722 MB / 3.849 GB, free: 60.15 MB / 0.698 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.002798/11.01, allocations: 1.188 MB / 3.85 GB, free: 58.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/11.01, allocations: 0 / 3.85 GB, free: 58.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002258/11.02, allocations: 1.333 MB / 3.852 GB, free: 57.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/11.02, allocations: 4 kB / 3.852 GB, free: 57.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/11.02, allocations: 8 kB / 3.852 GB, free: 57.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/11.02, allocations: 141.1 kB / 3.852 GB, free: 57.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008402/11.02, allocations: 207.7 kB / 3.852 GB, free: 57.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/11.02, allocations: 4.539 MB / 3.857 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/11.02, allocations: 85.69 kB / 3.857 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/11.02, allocations: 48 kB / 3.857 GB, free: 52.28 MB / 0.698 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.0002816/11.02, allocations: 139.9 kB / 3.857 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/11.02, allocations: 122.5 kB / 3.857 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/11.03, allocations: 1.176 MB / 3.858 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/11.03, allocations: 11.42 kB / 3.858 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/11.03, allocations: 0 / 3.858 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001666/11.03, allocations: 1.161 MB / 3.859 GB, free: 49.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005862/11.03, allocations: 3.012 MB / 3.862 GB, free: 46.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/11.03, allocations: 4 kB / 3.862 GB, free: 46.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007714/11.03, allocations: 151.8 kB / 3.862 GB, free: 46.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/11.03, allocations: 145.7 kB / 3.862 GB, free: 46.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/11.03, allocations: 16 kB / 3.862 GB, free: 46.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/11.04, allocations: 4.529 MB / 3.867 GB, free: 41.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/11.04, allocations: 11.91 kB / 3.867 GB, free: 41.27 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003085/11.04, allocations: 2.128 MB / 3.869 GB, free: 38.95 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0047/11.05, allocations: 3.163 MB / 3.872 GB, free: 35.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/11.05, allocations: 283.6 kB / 3.872 GB, free: 35.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00053/11.05, allocations: 19.89 kB / 3.872 GB, free: 35.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/11.05, allocations: 57.8 kB / 3.872 GB, free: 35.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/11.05, allocations: 55.25 kB / 3.872 GB, free: 35.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/11.05, allocations: 35.98 kB / 3.873 GB, free: 35.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0009587/11.05, allocations: 0.5377 MB / 3.873 GB, free: 34.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004259/11.05, allocations: 0.8475 MB / 3.874 GB, free: 33.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (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.004661/11.06, allocations: 2.698 MB / 3.876 GB, free: 31.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002112/11.06, allocations: 1.167 MB / 3.878 GB, free: 30.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/11.06, allocations: 4.688 kB / 3.878 GB, free: 30.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008537/11.06, allocations: 0.7151 MB / 3.878 GB, free: 29.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/11.07, allocations: 0.5903 MB / 3.879 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/11.07, allocations: 2.192 MB / 3.881 GB, free: 26.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/11.07, allocations: 1.495 MB / 3.883 GB, free: 25.04 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/11.07, allocations: 4 kB / 3.883 GB, free: 25.03 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)