Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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_degC,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",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.222/2.222, allocations: 248.6 MB / 255.9 MB, free: 368 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001658, allocations: 186.1 kB / 315.1 MB, free: 7.793 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.479/2.479, allocations: 205.1 MB / 0.5658 GB, free: 25.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 90 kB / 0.67 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3164/0.3181, allocations: 112.4 MB / 0.7797 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5915/0.9096, allocations: 106.2 MB / 0.8835 GB, free: 77.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2447/1.154, allocations: 130.4 MB / 1.011 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/1.155, allocations: 71.97 kB / 1.011 GB, free: 10.63 MB / 0.6667 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.005454/1.16, allocations: 1.284 MB / 1.012 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.16, allocations: 8 kB / 1.012 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/1.16, allocations: 19.81 kB / 1.012 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/1.161, allocations: 178.9 kB / 1.012 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/1.161, allocations: 224 / 1.012 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/1.161, allocations: 4 kB / 1.012 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001486/1.161, allocations: 35.94 kB / 1.012 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/1.161, allocations: 87.39 kB / 1.012 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.161, allocations: 3.938 kB / 1.012 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/1.161, allocations: 3.906 kB / 1.012 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/1.161, allocations: 0 / 1.012 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/1.162, allocations: 429.2 kB / 1.013 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/1.162, allocations: 37.22 kB / 1.013 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/1.162, allocations: 17.81 kB / 1.013 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/1.162, allocations: 0 / 1.013 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.162, allocations: 34.56 kB / 1.013 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/1.162, allocations: 4 kB / 1.013 GB, free: 8.328 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0002073/1.162, allocations: 45.59 kB / 1.013 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/1.162, allocations: 81.05 kB / 1.013 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/1.163, allocations: 130.2 kB / 1.013 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/1.163, allocations: 25.7 kB / 1.013 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/1.163, allocations: 115.6 kB / 1.013 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/1.163, allocations: 3.906 kB / 1.013 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/1.163, allocations: 0 / 1.013 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.163, allocations: 329.5 kB / 1.014 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/1.163, allocations: 8 kB / 1.014 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/1.163, allocations: 21.7 kB / 1.014 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/1.163, allocations: 8 kB / 1.014 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.163, allocations: 0 / 1.014 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001524/1.163, allocations: 65.53 kB / 1.014 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.163, allocations: 4.062 kB / 1.014 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.163, allocations: 4 kB / 1.014 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.163, allocations: 4 kB / 1.014 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/1.164, allocations: 4 kB / 1.014 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.164, allocations: 3.938 kB / 1.014 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.31e-05/1.164, allocations: 3.906 kB / 1.014 GB, free: 7.418 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/1.164, allocations: 7.984 kB / 1.014 GB, free: 7.41 MB / 0.6667 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 8.345e-05/1.164, allocations: 101 kB / 1.014 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/1.164, allocations: 7.906 kB / 1.014 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/1.164, allocations: 19.55 kB / 1.014 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.164, allocations: 0 / 1.014 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.164, allocations: 0 / 1.014 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.164, allocations: 3.938 kB / 1.014 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/1.165, allocations: 459.3 kB / 1.014 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.165, allocations: 0 / 1.014 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/1.165, allocations: 8 kB / 1.014 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.165, allocations: 0 / 1.014 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/1.165, allocations: 4.062 kB / 1.014 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/1.165, allocations: 3.906 kB / 1.014 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.165, allocations: 0 / 1.014 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001601/1.165, allocations: 95.55 kB / 1.014 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002904/1.165, allocations: 464 kB / 1.015 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/1.165, allocations: 96.94 kB / 1.015 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/1.165, allocations: 0 / 1.015 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.206e-05/1.166, allocations: 0 / 1.015 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/1.166, allocations: 4 kB / 1.015 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/1.166, allocations: 4.031 kB / 1.015 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001196/1.166, allocations: 113 kB / 1.015 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001073/1.167, allocations: 11.91 kB / 1.015 GB, free: 5.914 MB / 0.6667 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.0001522/1.167, allocations: 101.3 kB / 1.015 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001211/1.167, allocations: 16 kB / 1.015 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.167, allocations: 0 / 1.015 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.716e-05/1.167, allocations: 11.98 kB / 1.015 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/1.167, allocations: 11.06 kB / 1.015 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/1.168, allocations: 120.1 kB / 1.015 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/1.168, allocations: 0.711 MB / 1.016 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of SimCode: time 1.172e-06/1.168, allocations: 0 / 1.016 GB, free: 4.898 MB / 0.6667 GB