Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.PPM.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.PPM") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.226/2.226, allocations: 253.1 MB / 260.4 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001687/0.001686, allocations: 177.3 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001336/0.001335, allocations: 92.25 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.151e-05/1.163e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1956, allocations: 106.3 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.846/6.042, allocations: 2.211 GB / 3.099 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/6.042, allocations: 86.77 kB / 3.1 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.393/12.44, allocations: 1.244 GB / 4.343 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000203/12.44, allocations: 37.34 kB / 4.343 GB, free: 122.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.007166/12.44, allocations: 1.817 MB / 4.345 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/12.44, allocations: 7.5 kB / 4.345 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003959/12.45, allocations: 390.4 kB / 4.346 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004562/12.45, allocations: 1.157 MB / 4.347 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/12.45, allocations: 41.25 kB / 4.347 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/12.45, allocations: 86.17 kB / 4.347 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003526/12.46, allocations: 1.145 MB / 4.348 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/12.46, allocations: 1.346 MB / 4.349 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/12.46, allocations: 0 / 4.349 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/12.46, allocations: 3.75 kB / 4.349 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-05/12.46, allocations: 47.89 kB / 4.349 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/12.47, allocations: 6.408 MB / 4.356 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/12.47, allocations: 0.6089 MB / 4.356 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008585/12.47, allocations: 398.3 kB / 4.357 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/12.48, allocations: 407.8 kB / 4.357 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/12.48, allocations: 53.78 kB / 4.357 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.797e-06/12.48, allocations: 2.625 kB / 4.357 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.004194/12.48, allocations: 1.043 MB / 4.358 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/12.48, allocations: 59.56 kB / 4.358 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/12.48, allocations: 0.7393 MB / 4.359 GB, free: 117 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002364/12.48, allocations: 29.61 kB / 4.359 GB, free: 117 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/12.48, allocations: 0.5531 MB / 4.359 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004/12.48, allocations: 257.3 kB / 4.36 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/12.48, allocations: 0 / 4.36 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001073/12.48, allocations: 344.1 kB / 4.36 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000886/12.48, allocations: 327.3 kB / 4.36 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/12.48, allocations: 0.6761 MB / 4.361 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/12.49, allocations: 0.5692 MB / 4.362 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/12.49, allocations: 3.531 kB / 4.362 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004302/12.49, allocations: 1.26 MB / 4.363 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/12.49, allocations: 13.59 kB / 4.363 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/12.49, allocations: 9.922 kB / 4.363 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000654/12.49, allocations: 147.2 kB / 4.363 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/12.49, allocations: 197.7 kB / 4.363 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/12.5, allocations: 4.54 MB / 4.368 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/12.5, allocations: 124.4 kB / 4.368 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/12.5, allocations: 50.69 kB / 4.368 GB, free: 111.9 MB / 0.8855 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.0003453/12.5, allocations: 145.1 kB / 4.368 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/12.5, allocations: 114.5 kB / 4.368 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/12.51, allocations: 1.096 MB / 4.369 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/12.51, allocations: 6.688 kB / 4.369 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/12.51, allocations: 7.625 kB / 4.369 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002422/12.51, allocations: 1.008 MB / 4.37 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006565/12.51, allocations: 2.305 MB / 4.372 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/12.51, allocations: 3.906 kB / 4.372 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/12.52, allocations: 138.9 kB / 4.372 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005845/12.52, allocations: 133.2 kB / 4.373 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.82e-05/12.52, allocations: 11.06 kB / 4.373 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004338/12.52, allocations: 4.526 MB / 4.377 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/12.52, allocations: 3.906 kB / 4.377 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004066/12.52, allocations: 1.698 MB / 4.379 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/12.53, allocations: 294 kB / 4.379 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/12.53, allocations: 11.11 kB / 4.379 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/12.53, allocations: 55.83 kB / 4.379 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/12.53, allocations: 43.38 kB / 4.379 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.862e-05/12.53, allocations: 32.33 kB / 4.379 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001184/12.53, allocations: 0.5693 MB / 4.38 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003328/12.53, allocations: 0.6231 MB / 4.38 GB, free: 106.3 MB / 0.8855 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.004566/12.54, allocations: 2.684 MB / 4.383 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002763/12.54, allocations: 1.098 MB / 4.384 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/12.54, allocations: 0 / 4.384 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/12.54, allocations: 0.6741 MB / 4.385 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005409/12.55, allocations: 0.5549 MB / 4.385 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006573/12.55, allocations: 2.065 MB / 4.387 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001889/12.56, allocations: 1.472 MB / 4.389 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.954e-06/12.56, allocations: 2.078 kB / 4.389 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.092/12.65, allocations: 35.86 MB / 4.424 GB, free: 102.5 MB / 0.8855 GB