Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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_gal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",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.145/2.145, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.001673/0.001672, allocations: 188.6 kB / 315.1 MB, free: 4.246 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.101/2.101, 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.001355/0.001355, allocations: 95.27 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5113/0.5127, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.7524, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7646/1.517, allocations: 131.5 MB / 1.012 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.517, allocations: 68.64 kB / 1.012 GB, free: 8.625 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.006887/1.524, allocations: 1.207 MB / 1.013 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.592e-05/1.524, allocations: 8 kB / 1.013 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/1.525, allocations: 11.84 kB / 1.013 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/1.525, allocations: 181.9 kB / 1.013 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/1.525, allocations: 7.188 kB / 1.013 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/1.525, allocations: 4 kB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002455/1.525, allocations: 36.22 kB / 1.013 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/1.526, allocations: 82.02 kB / 1.013 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.526, allocations: 0 / 1.013 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/1.526, allocations: 4 kB / 1.013 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/1.526, allocations: 8.734 kB / 1.013 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/1.527, allocations: 416.9 kB / 1.014 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/1.527, allocations: 40.78 kB / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/1.527, allocations: 13.84 kB / 1.014 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/1.527, allocations: 0 / 1.014 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/1.527, allocations: 42.19 kB / 1.014 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.318e-06/1.527, allocations: 0 / 1.014 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000261/1.528, allocations: 44.17 kB / 1.014 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/1.528, allocations: 81.05 kB / 1.014 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/1.528, allocations: 130.8 kB / 1.014 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/1.528, allocations: 25.7 kB / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/1.528, allocations: 107.5 kB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/1.528, allocations: 3.906 kB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/1.528, allocations: 4.062 kB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002141/1.528, allocations: 318.4 kB / 1.015 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/1.528, allocations: 9.875 kB / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/1.528, allocations: 17.28 kB / 1.015 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.412e-05/1.529, allocations: 11.55 kB / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.529, allocations: 0 / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002596/1.529, allocations: 60.17 kB / 1.015 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/1.529, allocations: 9.562 kB / 1.015 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.529, allocations: 0 / 1.015 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.529, allocations: 0 / 1.015 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/1.529, allocations: 15.89 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/1.529, allocations: 0 / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.77e-05/1.529, allocations: 3.938 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/1.529, allocations: 0 / 1.015 GB, free: 5.785 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.0001389/1.529, allocations: 105 kB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/1.53, allocations: 7.906 kB / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/1.53, allocations: 14.23 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.53, allocations: 0 / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.53, allocations: 4.219 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/1.53, allocations: 11.83 kB / 1.015 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009606/1.531, allocations: 444 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.531, allocations: 0 / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/1.531, allocations: 11.89 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.531, allocations: 4.062 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/1.531, allocations: 0 / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/1.531, allocations: 7.562 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/1.531, allocations: 4 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002044/1.531, allocations: 79.38 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004033/1.532, allocations: 471.5 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.532, allocations: 91.94 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/1.532, allocations: 3.938 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/1.532, allocations: 0 / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/1.532, allocations: 4.031 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/1.532, allocations: 4 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001506/1.532, allocations: 101.3 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001975/1.534, allocations: 15.91 kB / 1.016 GB, free: 4.344 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.000195/1.534, allocations: 95.25 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000152/1.534, allocations: 15.81 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.534, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/1.535, allocations: 11.56 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/1.535, allocations: 12.95 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/1.535, allocations: 115.2 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006041/1.536, allocations: 0.7075 MB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of SimCode: time 2.795e-06/1.536, allocations: 0 / 1.017 GB, free: 3.348 MB / 0.6355 GB