Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.386/2.386, allocations: 248.6 MB / 255.9 MB, free: 1.137 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001672/0.001672, allocations: 179.6 kB / 315.1 MB, free: 9.559 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.1 MB / 0.5658 GB, free: 14 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 98.92 kB / 0.67 GB, free: 52.02 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2424/0.2437, allocations: 112.4 MB / 0.7797 GB, free: 10.63 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.4884, allocations: 106.3 MB / 0.8835 GB, free: 268 kB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.826/6.315, allocations: 2.178 GB / 3.061 GB, free: 158.4 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/6.315, allocations: 84.02 kB / 3.062 GB, free: 158.3 MB / 0.8777 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 1.282/7.597, allocations: 201.8 MB / 3.259 GB, free: 248.3 MB / 0.8777 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/7.597, allocations: 7.281 kB / 3.259 GB, free: 248.3 MB / 0.8777 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.52e-05/7.597, allocations: 25.47 kB / 3.259 GB, free: 248.3 MB / 0.8777 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/7.597, allocations: 284 kB / 3.259 GB, free: 248.1 MB / 0.8777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/7.597, allocations: 5.75 kB / 3.259 GB, free: 248.1 MB / 0.8777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/7.597, allocations: 14.81 kB / 3.259 GB, free: 248.1 MB / 0.8777 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003395/7.598, allocations: 98.84 kB / 3.259 GB, free: 248.1 MB / 0.8777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/7.598, allocations: 221.4 kB / 3.259 GB, free: 248 MB / 0.8777 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/7.598, allocations: 7.188 kB / 3.259 GB, free: 247.9 MB / 0.8777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/7.598, allocations: 0 / 3.259 GB, free: 247.9 MB / 0.8777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/7.598, allocations: 3.875 kB / 3.259 GB, free: 247.9 MB / 0.8777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/7.6, allocations: 1.283 MB / 3.26 GB, free: 246.9 MB / 0.8777 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/7.6, allocations: 157.2 kB / 3.261 GB, free: 246.8 MB / 0.8777 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/7.6, allocations: 79.52 kB / 3.261 GB, free: 246.7 MB / 0.8777 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/7.6, allocations: 115.1 kB / 3.261 GB, free: 246.6 MB / 0.8777 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/7.601, allocations: 39.53 kB / 3.261 GB, free: 246.6 MB / 0.8777 GB Notification: Performance of pre-optimization done (n=10): time 2.425e-06/7.601, allocations: 3.312 kB / 3.261 GB, free: 246.6 MB / 0.8777 GB Notification: Performance of matching and sorting (n=10): time 0.000672/7.601, allocations: 137.5 kB / 3.261 GB, free: 246.6 MB / 0.8777 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/7.601, allocations: 190.1 kB / 3.261 GB, free: 246.3 MB / 0.8777 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/7.602, allocations: 161.3 kB / 3.261 GB, free: 246.3 MB / 0.8777 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/7.602, allocations: 32.12 kB / 3.261 GB, free: 246.2 MB / 0.8777 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/7.602, allocations: 142.7 kB / 3.261 GB, free: 246.1 MB / 0.8777 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/7.602, allocations: 36.83 kB / 3.262 GB, free: 246.1 MB / 0.8777 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/7.602, allocations: 0 / 3.262 GB, free: 246.1 MB / 0.8777 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/7.602, allocations: 327.9 kB / 3.262 GB, free: 245.8 MB / 0.8777 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/7.602, allocations: 29.27 kB / 3.262 GB, free: 245.8 MB / 0.8777 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/7.602, allocations: 102.9 kB / 3.262 GB, free: 245.7 MB / 0.8777 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/7.602, allocations: 74.66 kB / 3.262 GB, free: 245.7 MB / 0.8777 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/7.602, allocations: 0 / 3.262 GB, free: 245.7 MB / 0.8777 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004856/7.603, allocations: 163.3 kB / 3.262 GB, free: 245.7 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/7.603, allocations: 8.375 kB / 3.262 GB, free: 245.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/7.603, allocations: 0 / 3.262 GB, free: 245.7 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/7.603, allocations: 7.125 kB / 3.262 GB, free: 245.7 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/7.603, allocations: 34.7 kB / 3.262 GB, free: 245.7 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/7.603, allocations: 7.719 kB / 3.262 GB, free: 245.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/7.604, allocations: 24.78 kB / 3.262 GB, free: 245.7 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/7.604, allocations: 9.094 kB / 3.262 GB, free: 245.7 MB / 0.8777 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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 8.772e-05/7.604, allocations: 107.7 kB / 3.262 GB, free: 245.6 MB / 0.8777 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/7.604, allocations: 18.25 kB / 3.262 GB, free: 245.5 MB / 0.8777 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/7.604, allocations: 124.7 kB / 3.263 GB, free: 245.5 MB / 0.8777 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/7.604, allocations: 0 / 3.263 GB, free: 245.5 MB / 0.8777 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/7.604, allocations: 3.719 kB / 3.263 GB, free: 245.5 MB / 0.8777 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/7.605, allocations: 0 / 3.263 GB, free: 245.5 MB / 0.8777 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/7.606, allocations: 0.7257 MB / 3.263 GB, free: 244.9 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/7.606, allocations: 4.969 kB / 3.263 GB, free: 244.9 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/7.606, allocations: 30.55 kB / 3.263 GB, free: 244.9 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/7.606, allocations: 4.781 kB / 3.263 GB, free: 244.9 MB / 0.8777 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/7.606, allocations: 9.906 kB / 3.263 GB, free: 244.9 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/7.606, allocations: 3.062 kB / 3.263 GB, free: 244.9 MB / 0.8777 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/7.606, allocations: 0 / 3.263 GB, free: 244.9 MB / 0.8777 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006176/7.607, allocations: 364.2 kB / 3.264 GB, free: 244.6 MB / 0.8777 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008747/7.608, allocations: 0.8051 MB / 3.264 GB, free: 244 MB / 0.8777 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/7.608, allocations: 99.95 kB / 3.265 GB, free: 243.9 MB / 0.8777 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/7.608, allocations: 3.875 kB / 3.265 GB, free: 243.9 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/7.608, allocations: 17.17 kB / 3.265 GB, free: 243.9 MB / 0.8777 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/7.608, allocations: 11.94 kB / 3.265 GB, free: 243.9 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/7.608, allocations: 6.75 kB / 3.265 GB, free: 243.9 MB / 0.8777 GB Notification: Performance of sort global known variables: time 0.0001452/7.608, allocations: 141.7 kB / 3.265 GB, free: 243.8 MB / 0.8777 GB Notification: Performance of remove unused functions: time 0.001868/7.61, allocations: 233.9 kB / 3.265 GB, free: 243.8 MB / 0.8777 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.001798/7.612, allocations: 1.121 MB / 3.266 GB, free: 243.6 MB / 0.8777 GB Notification: Performance of simCode: created initialization part: time 0.000317/7.612, allocations: 86.16 kB / 3.266 GB, free: 243.6 MB / 0.8777 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/7.612, allocations: 0 / 3.266 GB, free: 243.6 MB / 0.8777 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/7.612, allocations: 47.81 kB / 3.266 GB, free: 243.6 MB / 0.8777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/7.613, allocations: 63.61 kB / 3.266 GB, free: 243.6 MB / 0.8777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/7.614, allocations: 327.8 kB / 3.267 GB, free: 243.4 MB / 0.8777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/7.615, allocations: 0.786 MB / 3.267 GB, free: 242.7 MB / 0.8777 GB Notification: Performance of SimCode: time 1.032e-06/7.615, allocations: 0 / 3.267 GB, free: 242.7 MB / 0.8777 GB