Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_dev_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.003631/0.003631, 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.7369/0.7369, 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.516/1.516, allocations: 221.3 MB / 395 MB, free: 10.24 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.001072/0.001072, allocations: 88.55 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4695/0.4706, allocations: 88.43 MB / 0.5529 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.6554, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.118/4.774, allocations: 1.901 GB / 2.534 GB, free: 61.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/4.774, allocations: 83.95 kB / 2.534 GB, free: 60.93 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 4.936/9.71, allocations: 1.298 GB / 3.832 GB, free: 76.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/9.71, allocations: 15.94 kB / 3.832 GB, free: 76.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/9.713, allocations: 413 kB / 3.832 GB, free: 76.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/9.716, allocations: 1.171 MB / 3.833 GB, free: 74.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/9.716, allocations: 40 kB / 3.833 GB, free: 74.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/9.716, allocations: 87.91 kB / 3.833 GB, free: 74.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00235/9.718, allocations: 1.145 MB / 3.834 GB, free: 73.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/9.721, allocations: 1.334 MB / 3.836 GB, free: 72.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/9.721, allocations: 7.938 kB / 3.836 GB, free: 72.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/9.721, allocations: 0 / 3.836 GB, free: 72.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.444e-05/9.721, allocations: 50.44 kB / 3.836 GB, free: 72.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/9.733, allocations: 6.422 MB / 3.842 GB, free: 65.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/9.735, allocations: 0.8693 MB / 3.843 GB, free: 64.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007839/9.736, allocations: 447.4 kB / 3.843 GB, free: 64.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008009/9.737, allocations: 417.8 kB / 3.844 GB, free: 63.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/9.737, allocations: 43.22 kB / 3.844 GB, free: 63.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 4.97e-06/9.737, allocations: 4 kB / 3.844 GB, free: 63.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.007337/9.744, allocations: 2.604 MB / 3.846 GB, free: 60.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/9.744, allocations: 60.19 kB / 3.846 GB, free: 60.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/9.746, allocations: 0.7173 MB / 3.847 GB, free: 60.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/9.746, allocations: 29.7 kB / 3.847 GB, free: 60.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/9.747, allocations: 0.5257 MB / 3.848 GB, free: 59.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/9.747, allocations: 295.6 kB / 3.848 GB, free: 59.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/9.747, allocations: 0 / 3.848 GB, free: 59.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001261/9.747, allocations: 341.9 kB / 3.848 GB, free: 58.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/9.748, allocations: 353.9 kB / 3.849 GB, free: 58.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008705/9.749, allocations: 0.7163 MB / 3.849 GB, free: 57.73 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.003114/9.752, allocations: 1.19 MB / 3.85 GB, free: 56.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/9.752, allocations: 4 kB / 3.85 GB, free: 56.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002481/9.754, allocations: 1.325 MB / 3.852 GB, free: 55.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/9.754, allocations: 4 kB / 3.852 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/9.754, allocations: 15.94 kB / 3.852 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/9.755, allocations: 150.4 kB / 3.852 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/9.756, allocations: 210.6 kB / 3.852 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/9.76, allocations: 4.536 MB / 3.857 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/9.761, allocations: 76.44 kB / 3.857 GB, free: 49.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/9.762, allocations: 50.64 kB / 3.857 GB, free: 49.86 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.0003082/9.762, allocations: 140.6 kB / 3.857 GB, free: 49.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003633/9.762, allocations: 114.6 kB / 3.857 GB, free: 49.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/9.765, allocations: 1.169 MB / 3.858 GB, free: 48.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/9.765, allocations: 8 kB / 3.858 GB, free: 48.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/9.765, allocations: 0 / 3.858 GB, free: 48.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001748/9.767, allocations: 1.168 MB / 3.859 GB, free: 47.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00669/9.773, allocations: 3.012 MB / 3.862 GB, free: 44.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/9.773, allocations: 8 kB / 3.862 GB, free: 44.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000816/9.774, allocations: 159.8 kB / 3.862 GB, free: 43.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003844/9.775, allocations: 133.2 kB / 3.862 GB, free: 43.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-05/9.775, allocations: 19.98 kB / 3.862 GB, free: 43.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/9.778, allocations: 4.531 MB / 3.867 GB, free: 38.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/9.778, allocations: 11.89 kB / 3.867 GB, free: 38.86 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003273/9.781, allocations: 2.124 MB / 3.869 GB, free: 36.53 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00437/9.786, allocations: 3.159 MB / 3.872 GB, free: 33.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/9.787, allocations: 287.6 kB / 3.872 GB, free: 32.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/9.787, allocations: 15.91 kB / 3.872 GB, free: 32.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/9.789, allocations: 58.27 kB / 3.872 GB, free: 32.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/9.789, allocations: 67.64 kB / 3.872 GB, free: 32.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.639e-05/9.789, allocations: 31.98 kB / 3.873 GB, free: 32.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001285/9.79, allocations: 0.5416 MB / 3.873 GB, free: 32.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005245/9.795, allocations: 0.8359 MB / 3.874 GB, free: 31.31 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.00619/9.802, allocations: 2.704 MB / 3.876 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002875/9.805, allocations: 1.175 MB / 3.878 GB, free: 27.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/9.805, allocations: 0 / 3.878 GB, free: 27.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009953/9.806, allocations: 0.7162 MB / 3.878 GB, free: 26.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/9.81, allocations: 0.5717 MB / 3.879 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/9.816, allocations: 2.205 MB / 3.881 GB, free: 24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/9.818, allocations: 1.492 MB / 3.883 GB, free: 22.48 MB / 0.698 GB Notification: Performance of SimCode: time 9.91e-07/9.818, allocations: 0 / 3.883 GB, free: 22.48 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)