Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",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.281/2.281, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.002406/0.002406, allocations: 193.2 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.1 MB / 0.5658 GB, free: 332 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.001359/0.001358, allocations: 82.58 kB / 0.67 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.49/0.4914, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.7127, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7153/1.428, allocations: 131.5 MB / 1.012 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/1.428, allocations: 69.58 kB / 1.012 GB, free: 8.691 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.006972/1.436, allocations: 1.216 MB / 1.013 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/1.436, allocations: 8 kB / 1.013 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/1.436, allocations: 7.906 kB / 1.013 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/1.436, allocations: 174.9 kB / 1.013 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/1.436, allocations: 4 kB / 1.013 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/1.436, allocations: 7.938 kB / 1.013 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002222/1.436, allocations: 41.14 kB / 1.013 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/1.437, allocations: 79.62 kB / 1.013 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/1.437, allocations: 0 / 1.013 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/1.437, allocations: 4 kB / 1.013 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/1.437, allocations: 0 / 1.013 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/1.438, allocations: 423.5 kB / 1.014 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.771e-05/1.438, allocations: 36.28 kB / 1.014 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/1.438, allocations: 13.78 kB / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/1.438, allocations: 0 / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/1.438, allocations: 37.72 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.557e-06/1.438, allocations: 6.516 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002936/1.438, allocations: 44.8 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/1.439, allocations: 81.09 kB / 1.014 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/1.439, allocations: 123.2 kB / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/1.439, allocations: 25.7 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/1.439, allocations: 107.9 kB / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/1.439, allocations: 6.531 kB / 1.014 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/1.439, allocations: 4.062 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.439, allocations: 314.5 kB / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.145e-05/1.439, allocations: 10.38 kB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/1.439, allocations: 25.64 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.901e-05/1.439, allocations: 7.812 kB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.439, allocations: 0 / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002104/1.44, allocations: 52.67 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/1.44, allocations: 12.05 kB / 1.015 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.44, allocations: 4 kB / 1.015 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.44, allocations: 96 / 1.015 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/1.44, allocations: 15.83 kB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/1.44, allocations: 0 / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/1.44, allocations: 7.938 kB / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/1.44, allocations: 0.6562 kB / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001101/1.44, allocations: 103.4 kB / 1.015 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/1.44, allocations: 7.906 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.124e-05/1.44, allocations: 26.94 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/1.44, allocations: 0 / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.441, allocations: 3.938 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.441, allocations: 3.906 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/1.441, allocations: 450.6 kB / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.441, allocations: 4 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.637e-05/1.441, allocations: 3.906 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/1.442, allocations: 8.062 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/1.442, allocations: 0 / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.442, allocations: 0 / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.442, allocations: 0 / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001944/1.442, allocations: 85.98 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003532/1.442, allocations: 474.8 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/1.442, allocations: 88.31 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/1.442, allocations: 4 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/1.442, allocations: 0 / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/1.443, allocations: 4.031 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/1.443, allocations: 0 / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001408/1.443, allocations: 104 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001898/1.445, allocations: 11.91 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002233/1.445, allocations: 98.5 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001926/1.445, allocations: 18.62 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.445, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/1.445, allocations: 7.75 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/1.445, allocations: 8.062 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/1.446, allocations: 119 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/1.447, allocations: 0.7114 MB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/1.447, allocations: 0 / 1.017 GB, free: 3.41 MB / 0.6355 GB