Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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_bar,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.529/2.529, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.001729/0.001728, allocations: 187.8 kB / 315.1 MB, free: 4.277 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.256/2.256, allocations: 205.1 MB / 0.5658 GB, free: 356 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.001978/0.001978, allocations: 91.28 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5238/0.5258, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.7542, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.734/1.488, allocations: 131.5 MB / 1.012 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/1.489, allocations: 67.72 kB / 1.012 GB, free: 8.703 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.006344/1.495, allocations: 1.207 MB / 1.013 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/1.495, allocations: 8 kB / 1.013 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/1.495, allocations: 11.89 kB / 1.013 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/1.495, allocations: 186.8 kB / 1.013 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/1.496, allocations: 4 kB / 1.013 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/1.496, allocations: 4 kB / 1.013 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000224/1.496, allocations: 37.16 kB / 1.013 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/1.496, allocations: 79.52 kB / 1.013 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.496, allocations: 0.8438 kB / 1.013 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/1.496, allocations: 0 / 1.013 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/1.496, allocations: 0 / 1.013 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/1.497, allocations: 419.9 kB / 1.014 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/1.497, allocations: 40.72 kB / 1.014 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/1.497, allocations: 13.84 kB / 1.014 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/1.497, allocations: 4.078 kB / 1.014 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/1.497, allocations: 37.94 kB / 1.014 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 5.5e-06/1.498, allocations: 0 / 1.014 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002802/1.498, allocations: 54.98 kB / 1.014 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/1.498, allocations: 77.11 kB / 1.014 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/1.498, allocations: 123.3 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/1.498, allocations: 29.7 kB / 1.014 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/1.498, allocations: 107.4 kB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/1.498, allocations: 7.156 kB / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/1.498, allocations: 0 / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.499, allocations: 322 kB / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/1.499, allocations: 14.38 kB / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.128e-05/1.499, allocations: 17.66 kB / 1.015 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.624e-05/1.499, allocations: 4 kB / 1.015 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/1.499, allocations: 3.984 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002134/1.499, allocations: 52.55 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/1.499, allocations: 8 kB / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.499, allocations: 3.938 kB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/1.499, allocations: 4.062 kB / 1.015 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/1.499, allocations: 7.906 kB / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/1.499, allocations: 4 kB / 1.015 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.14e-05/1.5, allocations: 7.922 kB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/1.5, allocations: 0 / 1.015 GB, free: 5.859 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.0001435/1.5, allocations: 105 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.495e-05/1.5, allocations: 3.906 kB / 1.015 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.136e-05/1.5, allocations: 15.17 kB / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/1.5, allocations: 0 / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.5, allocations: 4.219 kB / 1.015 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/1.5, allocations: 7.906 kB / 1.015 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008314/1.501, allocations: 449.6 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.501, allocations: 0 / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/1.501, allocations: 11.09 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/1.501, allocations: 0 / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/1.501, allocations: 0 / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/1.501, allocations: 8.047 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.501, allocations: 0 / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000185/1.501, allocations: 83.44 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003806/1.502, allocations: 479.3 kB / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/1.502, allocations: 85.02 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/1.502, allocations: 3.984 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.02e-05/1.502, allocations: 0 / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/1.502, allocations: 0 / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/1.502, allocations: 4 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001429/1.502, allocations: 102.8 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001868/1.504, allocations: 15.89 kB / 1.016 GB, free: 4.426 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.0002286/1.504, allocations: 99.19 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001913/1.505, allocations: 22.69 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/1.505, allocations: 0 / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/1.505, allocations: 4 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/1.505, allocations: 9.172 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/1.505, allocations: 124.3 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/1.506, allocations: 0.7075 MB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of SimCode: time 1.452e-06/1.506, allocations: 0 / 1.017 GB, free: 3.418 MB / 0.6355 GB