Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.22/2.22, allocations: 248.6 MB / 255.9 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001786/0.001786, allocations: 196.2 kB / 315.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.1 MB / 0.5658 GB, free: 344 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 97.41 kB / 0.67 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4752/0.4766, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.7641, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.893/6.658, allocations: 2.182 GB / 3.066 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/6.658, allocations: 79.7 kB / 3.066 GB, free: 175.5 MB / 0.8698 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.233/7.891, allocations: 214.5 MB / 3.275 GB, free: 195 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/7.891, allocations: 7.875 kB / 3.275 GB, free: 195 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008634/7.892, allocations: 82.59 kB / 3.275 GB, free: 195 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007899/7.893, allocations: 311.4 kB / 3.276 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/7.893, allocations: 7.125 kB / 3.276 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/7.893, allocations: 14.88 kB / 3.276 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006358/7.894, allocations: 189.7 kB / 3.276 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/7.895, allocations: 253.8 kB / 3.276 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/7.895, allocations: 6.438 kB / 3.276 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/7.895, allocations: 3.875 kB / 3.276 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/7.895, allocations: 7.062 kB / 3.276 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/7.897, allocations: 1.012 MB / 3.277 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/7.898, allocations: 169 kB / 3.277 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/7.898, allocations: 98.92 kB / 3.277 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009366/7.899, allocations: 398.7 kB / 3.278 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/7.899, allocations: 35.38 kB / 3.278 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 3.227e-06/7.899, allocations: 0 / 3.278 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.00205/7.901, allocations: 341.2 kB / 3.278 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/7.901, allocations: 58.89 kB / 3.278 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/7.901, allocations: 188.5 kB / 3.278 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/7.901, allocations: 25.7 kB / 3.278 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/7.902, allocations: 153.3 kB / 3.278 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/7.902, allocations: 62.58 kB / 3.278 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/7.902, allocations: 0 / 3.278 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001009/7.902, allocations: 332.3 kB / 3.279 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/7.902, allocations: 67.91 kB / 3.279 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/7.903, allocations: 131.3 kB / 3.279 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/7.905, allocations: 200.2 kB / 3.279 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/7.905, allocations: 3.094 kB / 3.279 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.002659/7.907, allocations: 343.3 kB / 3.28 GB, free: 193 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/7.907, allocations: 3.938 kB / 3.28 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/7.907, allocations: 3.875 kB / 3.28 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/7.908, allocations: 3.875 kB / 3.28 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009411/7.908, allocations: 72.27 kB / 3.28 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/7.909, allocations: 0 / 3.28 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008945/7.909, allocations: 45.16 kB / 3.28 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/7.91, allocations: 18.81 kB / 3.28 GB, free: 193 MB / 0.8698 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.000184/7.91, allocations: 108.6 kB / 3.28 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/7.91, allocations: 23.38 kB / 3.28 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/7.913, allocations: 354.8 kB / 3.28 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/7.913, allocations: 3.812 kB / 3.28 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/7.913, allocations: 0 / 3.28 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/7.913, allocations: 0 / 3.28 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/7.917, allocations: 0.8718 MB / 3.281 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/7.917, allocations: 0 / 3.281 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000911/7.918, allocations: 64.38 kB / 3.281 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/7.918, allocations: 3.594 kB / 3.281 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/7.919, allocations: 7.5 kB / 3.281 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/7.919, allocations: 3.062 kB / 3.281 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/7.919, allocations: 7.406 kB / 3.281 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003195/7.922, allocations: 0.628 MB / 3.282 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004003/7.926, allocations: 1.163 MB / 3.283 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/7.926, allocations: 124.3 kB / 3.283 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/7.926, allocations: 2.406 kB / 3.283 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000848/7.927, allocations: 40.42 kB / 3.283 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/7.927, allocations: 22.31 kB / 3.283 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.863e-05/7.928, allocations: 6.25 kB / 3.283 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002715/7.928, allocations: 147.5 kB / 3.283 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003376/7.931, allocations: 300.8 kB / 3.283 GB, free: 191.3 MB / 0.8698 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.003166/7.935, allocations: 1.168 MB / 3.285 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009022/7.935, allocations: 176.5 kB / 3.285 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/7.936, allocations: 0 / 3.285 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004522/7.936, allocations: 103 kB / 3.285 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/7.937, allocations: 82.5 kB / 3.285 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/7.94, allocations: 444.4 kB / 3.285 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007203/7.941, allocations: 0.8167 MB / 3.286 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.184e-06/7.941, allocations: 0 / 3.286 GB, free: 190.2 MB / 0.8698 GB