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.RelativeHumidity.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.RelativeHumidity,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_RelativeHumidity",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.948/3.948, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5679/4.516, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/4.745, allocations: 98.73 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.561/10.31, allocations: 2.177 GB / 2.806 GB, free: 171.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004255/10.31, allocations: 90.02 kB / 2.806 GB, free: 171.1 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 1.23/11.54, allocations: 214.5 MB / 3.015 GB, free: 245.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/11.54, allocations: 13.09 kB / 3.015 GB, free: 245.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007137/11.54, allocations: 85.53 kB / 3.015 GB, free: 245.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/11.54, allocations: 300.5 kB / 3.016 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/11.54, allocations: 9.438 kB / 3.016 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/11.54, allocations: 15.12 kB / 3.016 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000833/11.54, allocations: 194.2 kB / 3.016 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/11.54, allocations: 255.7 kB / 3.016 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/11.54, allocations: 0 / 3.016 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.531e-05/11.54, allocations: 2.656 kB / 3.016 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/11.54, allocations: 6.438 kB / 3.016 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/11.54, allocations: 1.005 MB / 3.017 GB, free: 245 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/11.54, allocations: 187.9 kB / 3.017 GB, free: 245 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/11.54, allocations: 89.17 kB / 3.017 GB, free: 245 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008789/11.55, allocations: 396.4 kB / 3.018 GB, free: 244.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/11.55, allocations: 42.34 kB / 3.018 GB, free: 244.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/11.55, allocations: 0 / 3.018 GB, free: 244.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.001913/11.55, allocations: 331.8 kB / 3.018 GB, free: 244.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/11.55, allocations: 59.47 kB / 3.018 GB, free: 244.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/11.55, allocations: 182.3 kB / 3.018 GB, free: 244.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/11.55, allocations: 25.7 kB / 3.018 GB, free: 244.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/11.55, allocations: 149.5 kB / 3.018 GB, free: 244.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/11.55, allocations: 66.47 kB / 3.018 GB, free: 244.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/11.55, allocations: 0 / 3.018 GB, free: 244.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/11.55, allocations: 326.2 kB / 3.019 GB, free: 243.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/11.55, allocations: 76.28 kB / 3.019 GB, free: 243.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/11.55, allocations: 133.8 kB / 3.019 GB, free: 243.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/11.55, allocations: 204 kB / 3.019 GB, free: 243.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/11.55, allocations: 2.844 kB / 3.019 GB, free: 243.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001536/11.55, allocations: 345.6 kB / 3.019 GB, free: 243.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/11.55, allocations: 3.906 kB / 3.019 GB, free: 243.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/11.55, allocations: 3.812 kB / 3.02 GB, free: 243.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/11.55, allocations: 3.844 kB / 3.02 GB, free: 243.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/11.55, allocations: 71.22 kB / 3.02 GB, free: 243.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/11.55, allocations: 6.844 kB / 3.02 GB, free: 243.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/11.55, allocations: 58.75 kB / 3.02 GB, free: 243.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/11.55, allocations: 7.562 kB / 3.02 GB, free: 243.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 0.000102/11.55, allocations: 114.7 kB / 3.02 GB, free: 243.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/11.55, allocations: 22.38 kB / 3.02 GB, free: 243.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/11.55, allocations: 360.2 kB / 3.02 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/11.55, allocations: 10.86 kB / 3.02 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/11.55, allocations: 0 / 3.02 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/11.55, allocations: 0 / 3.02 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/11.56, allocations: 0.8651 MB / 3.021 GB, free: 243.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/11.56, allocations: 0 / 3.021 GB, free: 243.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/11.56, allocations: 69.41 kB / 3.021 GB, free: 243.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/11.56, allocations: 0 / 3.021 GB, free: 243.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/11.56, allocations: 3.531 kB / 3.021 GB, free: 243.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/11.56, allocations: 3.594 kB / 3.021 GB, free: 243.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/11.56, allocations: 3.594 kB / 3.021 GB, free: 243.2 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002073/11.56, allocations: 0.6268 MB / 3.022 GB, free: 242.9 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00256/11.56, allocations: 1.169 MB / 3.023 GB, free: 242.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/11.56, allocations: 123.6 kB / 3.023 GB, free: 242.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/11.56, allocations: 3.625 kB / 3.023 GB, free: 242.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/11.56, allocations: 41.23 kB / 3.023 GB, free: 242.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.94e-05/11.56, allocations: 14.95 kB / 3.023 GB, free: 242.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/11.56, allocations: 13.72 kB / 3.023 GB, free: 242.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001707/11.56, allocations: 140.7 kB / 3.023 GB, free: 242.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002064/11.57, allocations: 300.3 kB / 3.023 GB, free: 242 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002142/11.57, allocations: 1.167 MB / 3.025 GB, free: 241.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000608/11.57, allocations: 175.4 kB / 3.025 GB, free: 241.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/11.57, allocations: 6.719 kB / 3.025 GB, free: 241.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002824/11.57, allocations: 102.3 kB / 3.025 GB, free: 241.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009102/11.57, allocations: 80.08 kB / 3.025 GB, free: 241.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/11.57, allocations: 452 kB / 3.025 GB, free: 241.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005538/11.57, allocations: 0.8183 MB / 3.026 GB, free: 240.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.052e-06/11.57, allocations: 3.469 kB / 3.026 GB, free: 240.9 MB / 0.823 GB