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.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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 3.841/3.841, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5285/4.369, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/4.601, allocations: 98.71 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.565/10.17, allocations: 2.175 GB / 2.803 GB, free: 173.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/10.17, allocations: 85.14 kB / 2.803 GB, free: 173.6 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 1.198/11.37, allocations: 215.7 MB / 3.014 GB, free: 245.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/11.37, allocations: 6.75 kB / 3.014 GB, free: 245.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/11.37, allocations: 82.75 kB / 3.014 GB, free: 245.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/11.37, allocations: 287.8 kB / 3.014 GB, free: 245.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/11.37, allocations: 14.75 kB / 3.014 GB, free: 245.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/11.37, allocations: 15.66 kB / 3.014 GB, free: 245.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004638/11.37, allocations: 159.8 kB / 3.015 GB, free: 245.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/11.37, allocations: 210.5 kB / 3.015 GB, free: 245 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/11.37, allocations: 0 / 3.015 GB, free: 245 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/11.37, allocations: 0 / 3.015 GB, free: 245 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/11.37, allocations: 3.156 kB / 3.015 GB, free: 245 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/11.37, allocations: 1.134 MB / 3.016 GB, free: 244.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/11.37, allocations: 77.91 kB / 3.016 GB, free: 244.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/11.37, allocations: 50.47 kB / 3.016 GB, free: 244.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003971/11.37, allocations: 120.1 kB / 3.016 GB, free: 244.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/11.37, allocations: 37.56 kB / 3.016 GB, free: 244.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 2.284e-06/11.37, allocations: 0 / 3.016 GB, free: 244.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.00057/11.37, allocations: 125 kB / 3.016 GB, free: 244.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/11.37, allocations: 55.31 kB / 3.016 GB, free: 244 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/11.37, allocations: 202.8 kB / 3.016 GB, free: 243.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/11.37, allocations: 25.7 kB / 3.017 GB, free: 243.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/11.37, allocations: 157.2 kB / 3.017 GB, free: 243.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/11.37, allocations: 30.05 kB / 3.017 GB, free: 243.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/11.37, allocations: 0 / 3.017 GB, free: 243.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.077e-05/11.37, allocations: 333.5 kB / 3.017 GB, free: 243.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/11.37, allocations: 55.47 kB / 3.017 GB, free: 243.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/11.37, allocations: 121.6 kB / 3.017 GB, free: 243.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/11.37, allocations: 103 kB / 3.017 GB, free: 243.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/11.37, allocations: 2.688 kB / 3.017 GB, free: 243.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008094/11.37, allocations: 216.9 kB / 3.017 GB, free: 243.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/11.37, allocations: 7.156 kB / 3.017 GB, free: 243.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/11.37, allocations: 2.438 kB / 3.017 GB, free: 243.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/11.37, allocations: 3.156 kB / 3.017 GB, free: 243.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/11.37, allocations: 48.7 kB / 3.018 GB, free: 243.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/11.37, allocations: 0 / 3.018 GB, free: 243.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/11.38, allocations: 27.52 kB / 3.018 GB, free: 243.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/11.38, allocations: 14.98 kB / 3.018 GB, free: 243.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.26e-05/11.38, allocations: 113.7 kB / 3.018 GB, free: 243.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/11.38, allocations: 22.69 kB / 3.018 GB, free: 243.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006245/11.38, allocations: 148 kB / 3.018 GB, free: 243.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/11.38, allocations: 0 / 3.018 GB, free: 243.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/11.38, allocations: 2.281 kB / 3.018 GB, free: 243.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/11.38, allocations: 3.906 kB / 3.018 GB, free: 243.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009725/11.38, allocations: 0.4964 MB / 3.018 GB, free: 242.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/11.38, allocations: 3.406 kB / 3.018 GB, free: 242.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/11.38, allocations: 29.16 kB / 3.018 GB, free: 242.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/11.38, allocations: 2.094 kB / 3.018 GB, free: 242.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/11.38, allocations: 11.81 kB / 3.018 GB, free: 242.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/11.38, allocations: 2.531 kB / 3.018 GB, free: 242.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/11.38, allocations: 3.938 kB / 3.018 GB, free: 242.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006256/11.38, allocations: 353.3 kB / 3.019 GB, free: 242.6 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009481/11.38, allocations: 0.8189 MB / 3.02 GB, free: 241.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/11.38, allocations: 111.3 kB / 3.02 GB, free: 241.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/11.38, allocations: 7.344 kB / 3.02 GB, free: 241.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/11.38, allocations: 10.31 kB / 3.02 GB, free: 241.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/11.38, allocations: 18.11 kB / 3.02 GB, free: 241.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/11.38, allocations: 7.75 kB / 3.02 GB, free: 241.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002005/11.38, allocations: 159.4 kB / 3.02 GB, free: 241.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00209/11.38, allocations: 281.6 kB / 3.02 GB, free: 241.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002464/11.38, allocations: 1.191 MB / 3.021 GB, free: 241.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000473/11.38, allocations: 117.9 kB / 3.021 GB, free: 241.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/11.38, allocations: 0 / 3.021 GB, free: 241.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/11.39, allocations: 46.52 kB / 3.021 GB, free: 241.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007219/11.39, allocations: 59.98 kB / 3.021 GB, free: 241.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009611/11.39, allocations: 349.1 kB / 3.022 GB, free: 241.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/11.39, allocations: 0.7894 MB / 3.023 GB, free: 240.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.232e-06/11.39, allocations: 0 / 3.023 GB, free: 240.6 MB / 0.823 GB