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.Pressure.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.Pressure,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_Pressure",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.058/4.058, allocations: 433 MB / 440.3 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.594/4.652, allocations: 104.3 MB / 0.5319 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/4.898, allocations: 98.73 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.535/10.43, allocations: 2.178 GB / 2.806 GB, free: 147.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/10.43, allocations: 96.81 kB / 2.806 GB, free: 147.2 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 1.536/11.97, allocations: 332.5 MB / 3.131 GB, free: 125.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/11.97, allocations: 12 kB / 3.131 GB, free: 125.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005082/11.97, allocations: 59.58 kB / 3.131 GB, free: 125.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/11.97, allocations: 321.2 kB / 3.131 GB, free: 125.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/11.97, allocations: 8 kB / 3.131 GB, free: 125.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/11.97, allocations: 12 kB / 3.131 GB, free: 125.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003946/11.97, allocations: 120.8 kB / 3.131 GB, free: 125.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/11.97, allocations: 250 kB / 3.132 GB, free: 124.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/11.97, allocations: 0 / 3.132 GB, free: 124.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/11.97, allocations: 0 / 3.132 GB, free: 124.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/11.97, allocations: 8 kB / 3.132 GB, free: 124.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/11.97, allocations: 1.5 MB / 3.133 GB, free: 123.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/11.97, allocations: 90.59 kB / 3.133 GB, free: 123.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/11.97, allocations: 60.84 kB / 3.133 GB, free: 123.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000349/11.97, allocations: 189.9 kB / 3.133 GB, free: 122.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/11.97, allocations: 38.56 kB / 3.133 GB, free: 122.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 2.705e-06/11.97, allocations: 0 / 3.133 GB, free: 122.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0007101/11.97, allocations: 149.5 kB / 3.133 GB, free: 122.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/11.97, allocations: 55.34 kB / 3.134 GB, free: 122.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/11.98, allocations: 215.4 kB / 3.134 GB, free: 122.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/11.98, allocations: 33.69 kB / 3.134 GB, free: 122.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/11.98, allocations: 171.7 kB / 3.134 GB, free: 122.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/11.98, allocations: 39.45 kB / 3.134 GB, free: 122.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/11.98, allocations: 0 / 3.134 GB, free: 122.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.65e-05/11.98, allocations: 330.8 kB / 3.134 GB, free: 121.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/11.98, allocations: 40 kB / 3.134 GB, free: 121.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/11.98, allocations: 165.2 kB / 3.134 GB, free: 121.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/11.98, allocations: 71.88 kB / 3.135 GB, free: 121.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/11.98, allocations: 7.938 kB / 3.135 GB, free: 121.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004954/11.98, allocations: 201 kB / 3.135 GB, free: 121.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002882/11.98, allocations: 1.395 MB / 3.136 GB, free: 119.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/11.98, allocations: 4 kB / 3.136 GB, free: 119.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/11.98, allocations: 4 kB / 3.136 GB, free: 119.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/11.98, allocations: 55.91 kB / 3.136 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/11.98, allocations: 4 kB / 3.136 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/11.98, allocations: 43.66 kB / 3.136 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/11.98, allocations: 16 kB / 3.136 GB, free: 119.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/11.98, allocations: 4 kB / 3.136 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003512/11.98, allocations: 139.6 kB / 3.136 GB, free: 119.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/11.98, allocations: 7.984 kB / 3.136 GB, free: 119.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/11.98, allocations: 4.406 kB / 3.136 GB, free: 119.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/11.98, allocations: 51.92 kB / 3.136 GB, free: 119.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/11.98, allocations: 7.984 kB / 3.136 GB, free: 119.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/11.98, allocations: 27.89 kB / 3.136 GB, free: 119.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/11.98, allocations: 19.94 kB / 3.136 GB, free: 119.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.878e-05/11.98, allocations: 116.4 kB / 3.137 GB, free: 119.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/11.98, allocations: 27.62 kB / 3.137 GB, free: 119.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/11.98, allocations: 131.4 kB / 3.137 GB, free: 119.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/11.98, allocations: 0 / 3.137 GB, free: 119.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/11.98, allocations: 0 / 3.137 GB, free: 119.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/11.98, allocations: 0 / 3.137 GB, free: 119.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/11.98, allocations: 0.536 MB / 3.137 GB, free: 118.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/11.98, allocations: 4 kB / 3.137 GB, free: 118.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/11.98, allocations: 28.2 kB / 3.137 GB, free: 118.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/11.98, allocations: 4 kB / 3.137 GB, free: 118.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/11.98, allocations: 4 kB / 3.137 GB, free: 118.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/11.98, allocations: 0 / 3.137 GB, free: 118.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/11.98, allocations: 7.953 kB / 3.137 GB, free: 118.5 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003354/11.98, allocations: 361.1 kB / 3.138 GB, free: 118 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006239/11.98, allocations: 0.7825 MB / 3.138 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/11.98, allocations: 116.7 kB / 3.139 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/11.98, allocations: 4 kB / 3.139 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/11.98, allocations: 15.98 kB / 3.139 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/11.98, allocations: 15.89 kB / 3.139 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/11.98, allocations: 7.938 kB / 3.139 GB, free: 117 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002059/11.98, allocations: 171.1 kB / 3.139 GB, free: 116.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003593/11.99, allocations: 0.4997 MB / 3.139 GB, free: 116.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002155/11.99, allocations: 1.418 MB / 3.141 GB, free: 115 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006158/11.99, allocations: 209.2 kB / 3.141 GB, free: 114.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/11.99, allocations: 4.125 kB / 3.141 GB, free: 114.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/11.99, allocations: 51.92 kB / 3.141 GB, free: 114.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/11.99, allocations: 97.98 kB / 3.141 GB, free: 114.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009081/11.99, allocations: 339.7 kB / 3.141 GB, free: 114.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/11.99, allocations: 0.8109 MB / 3.142 GB, free: 113.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.092e-06/11.99, allocations: 0 / 3.142 GB, free: 113.5 MB / 0.823 GB