Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.PPM.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_6_0_0_Buildings_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 loadModel(Buildings): time 4.095/4.095, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5879/4.683, allocations: 104.3 MB / 0.5319 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/4.916, allocations: 98.73 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.529/10.44, allocations: 2.207 GB / 2.835 GB, free: 141.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/10.45, allocations: 89.14 kB / 2.835 GB, free: 141.4 MB / 0.823 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 6.553/17, allocations: 1.246 GB / 4.081 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/17, allocations: 7.094 kB / 4.081 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/17, allocations: 388.3 kB / 4.081 GB, free: 111 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004589/17.01, allocations: 1.162 MB / 4.082 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/17.01, allocations: 44.62 kB / 4.082 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004905/17.01, allocations: 86.41 kB / 4.082 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003974/17.01, allocations: 1.147 MB / 4.084 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004664/17.02, allocations: 1.343 MB / 4.085 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/17.02, allocations: 3.875 kB / 4.085 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/17.02, allocations: 3.219 kB / 4.085 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/17.02, allocations: 58.5 kB / 4.085 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/17.03, allocations: 6.395 MB / 4.091 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/17.04, allocations: 0.6298 MB / 4.092 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009972/17.04, allocations: 402.1 kB / 4.092 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/17.04, allocations: 416.6 kB / 4.093 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/17.04, allocations: 40.97 kB / 4.093 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.727e-06/17.04, allocations: 3.75 kB / 4.093 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.004768/17.04, allocations: 1.047 MB / 4.094 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/17.04, allocations: 58.56 kB / 4.094 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/17.04, allocations: 0.744 MB / 4.094 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002879/17.04, allocations: 29.45 kB / 4.094 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/17.04, allocations: 0.5467 MB / 4.095 GB, free: 106 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/17.05, allocations: 258.3 kB / 4.095 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/17.05, allocations: 0 / 4.095 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001028/17.05, allocations: 343.5 kB / 4.096 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/17.05, allocations: 319.6 kB / 4.096 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/17.05, allocations: 0.6857 MB / 4.097 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/17.05, allocations: 0.5686 MB / 4.097 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/17.05, allocations: 3.469 kB / 4.097 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004192/17.05, allocations: 1.265 MB / 4.098 GB, free: 105 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/17.05, allocations: 3.25 kB / 4.098 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/17.05, allocations: 10.5 kB / 4.098 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006823/17.05, allocations: 146.9 kB / 4.098 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/17.06, allocations: 201.4 kB / 4.099 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005217/17.06, allocations: 4.543 MB / 4.103 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/17.06, allocations: 122.7 kB / 4.103 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003386/17.06, allocations: 50.97 kB / 4.103 GB, free: 101.1 MB / 0.8698 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.0003412/17.07, allocations: 132.5 kB / 4.103 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004441/17.07, allocations: 113.4 kB / 4.104 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004782/17.07, allocations: 1.104 MB / 4.105 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/17.07, allocations: 5.719 kB / 4.105 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/17.07, allocations: 0 / 4.105 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004197/17.07, allocations: 1.01 MB / 4.106 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/17.08, allocations: 2.306 MB / 4.108 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/17.09, allocations: 3.875 kB / 4.108 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/17.09, allocations: 132.9 kB / 4.108 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008688/17.09, allocations: 131.1 kB / 4.108 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/17.09, allocations: 13.23 kB / 4.108 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006503/17.09, allocations: 4.529 MB / 4.113 GB, free: 96.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/17.09, allocations: 3.562 kB / 4.113 GB, free: 96.24 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005945/17.1, allocations: 1.7 MB / 4.114 GB, free: 95.75 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008195/17.11, allocations: 2.67 MB / 4.117 GB, free: 94.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/17.11, allocations: 296 kB / 4.117 GB, free: 94.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006449/17.11, allocations: 11.66 kB / 4.117 GB, free: 94.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003069/17.11, allocations: 47.5 kB / 4.117 GB, free: 94.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/17.11, allocations: 45.55 kB / 4.117 GB, free: 94.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/17.12, allocations: 37.34 kB / 4.117 GB, free: 94.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00225/17.12, allocations: 0.5601 MB / 4.118 GB, free: 94.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008655/17.13, allocations: 0.926 MB / 4.119 GB, free: 94.55 MB / 0.8698 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.007727/17.13, allocations: 2.708 MB / 4.121 GB, free: 93.64 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004119/17.14, allocations: 1.1 MB / 4.122 GB, free: 93.33 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/17.14, allocations: 0 / 4.122 GB, free: 93.33 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002053/17.14, allocations: 0.6664 MB / 4.123 GB, free: 93.04 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008149/17.15, allocations: 0.5559 MB / 4.124 GB, free: 93.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009171/17.16, allocations: 2.076 MB / 4.126 GB, free: 92.46 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002871/17.16, allocations: 1.476 MB / 4.127 GB, free: 91.74 MB / 0.8698 GB Notification: Performance of SimCode: time 1.703e-06/17.16, allocations: 0 / 4.127 GB, free: 91.74 MB / 0.8698 GB