Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_hp,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_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.309/2.309, allocations: 248.6 MB / 255.9 MB, free: 7.086 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.001612/0.001612, allocations: 180 kB / 315.1 MB, free: 4.27 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.989/1.989, allocations: 205.1 MB / 0.5658 GB, free: 300 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.001574/0.001574, allocations: 83.33 kB / 0.67 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5245/0.5262, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.7507, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7198/1.471, allocations: 131.4 MB / 1.012 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.471, allocations: 62.53 kB / 1.012 GB, free: 8.727 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.005496/1.476, allocations: 1.217 MB / 1.013 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.867e-05/1.477, allocations: 12 kB / 1.013 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/1.477, allocations: 7.906 kB / 1.013 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/1.477, allocations: 182.9 kB / 1.013 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/1.477, allocations: 7.938 kB / 1.013 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/1.477, allocations: 4.812 kB / 1.013 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002202/1.477, allocations: 37.47 kB / 1.013 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/1.478, allocations: 80.59 kB / 1.013 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.478, allocations: 0 / 1.013 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/1.478, allocations: 0 / 1.013 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/1.478, allocations: 4 kB / 1.013 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/1.479, allocations: 420.5 kB / 1.014 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/1.479, allocations: 33.22 kB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/1.479, allocations: 17.41 kB / 1.014 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/1.479, allocations: 0 / 1.014 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/1.479, allocations: 38.59 kB / 1.014 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.146e-06/1.479, allocations: 6.516 kB / 1.014 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002838/1.479, allocations: 49.47 kB / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/1.479, allocations: 77.11 kB / 1.014 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/1.48, allocations: 127 kB / 1.014 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/1.48, allocations: 25.7 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/1.48, allocations: 110.6 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/1.48, allocations: 3.906 kB / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/1.48, allocations: 0 / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.48, allocations: 322.7 kB / 1.015 GB, free: 6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/1.48, allocations: 10.5 kB / 1.015 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/1.48, allocations: 20.91 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/1.48, allocations: 7.5 kB / 1.015 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.48, allocations: 0 / 1.015 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002106/1.48, allocations: 56.53 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/1.48, allocations: 4.062 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.48, allocations: 8 kB / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.48, allocations: 0 / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/1.481, allocations: 11.84 kB / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.481, allocations: 0 / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/1.481, allocations: 7.938 kB / 1.015 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/1.481, allocations: 0 / 1.015 GB, free: 5.879 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.000118/1.481, allocations: 101 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/1.481, allocations: 7.906 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/1.481, allocations: 19.44 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.481, allocations: 4 kB / 1.015 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.481, allocations: 3.938 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/1.481, allocations: 3.906 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/1.482, allocations: 448 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.482, allocations: 4 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/1.482, allocations: 3.906 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.482, allocations: 4.094 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/1.482, allocations: 4.062 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/1.482, allocations: 0 / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.482, allocations: 7.922 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002067/1.482, allocations: 83.55 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003941/1.483, allocations: 481.5 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.483, allocations: 81.02 kB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/1.483, allocations: 4 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/1.483, allocations: 0 / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/1.483, allocations: 0 / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/1.483, allocations: 8.016 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001381/1.483, allocations: 102.8 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001851/1.485, allocations: 11.91 kB / 1.016 GB, free: 4.438 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.0002324/1.486, allocations: 95.25 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001794/1.486, allocations: 23.86 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.486, allocations: 0 / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.054e-05/1.486, allocations: 4 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/1.486, allocations: 14.23 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/1.487, allocations: 115.4 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005084/1.487, allocations: 0.7075 MB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of SimCode: time 1.193e-06/1.487, allocations: 4 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB