Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.575/2.575, allocations: 248.6 MB / 255.9 MB, free: 380 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.002256/0.002257, allocations: 190.5 kB / 315.1 MB, free: 7.797 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.408/2.408, allocations: 205.1 MB / 0.5658 GB, free: 25.52 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.001951/0.001951, allocations: 98.06 kB / 0.67 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3585/0.3605, allocations: 112.4 MB / 0.7797 GB, free: 2.516 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5121/0.8726, allocations: 106.2 MB / 0.8835 GB, free: 77.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/1.109, allocations: 130.4 MB / 1.011 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.11, allocations: 67.97 kB / 1.011 GB, free: 10.66 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.004556/1.114, allocations: 1.214 MB / 1.012 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.114, allocations: 8 kB / 1.012 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/1.114, allocations: 7.906 kB / 1.012 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/1.115, allocations: 186.8 kB / 1.012 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.115, allocations: 4 kB / 1.012 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/1.115, allocations: 4 kB / 1.012 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001489/1.115, allocations: 39.91 kB / 1.012 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/1.115, allocations: 75.62 kB / 1.012 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.115, allocations: 0 / 1.012 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.115, allocations: 3.938 kB / 1.012 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/1.115, allocations: 0 / 1.012 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/1.116, allocations: 421.1 kB / 1.013 GB, free: 8.574 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/1.116, allocations: 41.16 kB / 1.013 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/1.116, allocations: 17.84 kB / 1.013 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/1.116, allocations: 0 / 1.013 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.116, allocations: 34.59 kB / 1.013 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/1.116, allocations: 0 / 1.013 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.000209/1.116, allocations: 53.53 kB / 1.013 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.116, allocations: 81.17 kB / 1.013 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/1.116, allocations: 127.9 kB / 1.013 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/1.116, allocations: 25.7 kB / 1.013 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/1.116, allocations: 108.1 kB / 1.013 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/1.116, allocations: 3.906 kB / 1.013 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/1.117, allocations: 0 / 1.013 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.117, allocations: 321.4 kB / 1.014 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/1.117, allocations: 7.938 kB / 1.014 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/1.117, allocations: 25.72 kB / 1.014 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/1.117, allocations: 8 kB / 1.014 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.117, allocations: 0 / 1.014 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/1.117, allocations: 57.59 kB / 1.014 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.117, allocations: 8 kB / 1.014 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.117, allocations: 0 / 1.014 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.117, allocations: 0 / 1.014 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/1.117, allocations: 15.91 kB / 1.014 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.117, allocations: 4 kB / 1.014 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/1.117, allocations: 3.938 kB / 1.014 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/1.117, allocations: 0 / 1.014 GB, free: 7.555 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.459e-05/1.117, allocations: 101 kB / 1.014 GB, free: 7.449 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/1.117, allocations: 7.906 kB / 1.014 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/1.117, allocations: 19.53 kB / 1.014 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.117, allocations: 0 / 1.014 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.117, allocations: 0 / 1.014 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.118, allocations: 7.906 kB / 1.014 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/1.118, allocations: 451.4 kB / 1.014 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.118, allocations: 0 / 1.014 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/1.118, allocations: 7.844 kB / 1.014 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.118, allocations: 4 kB / 1.014 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/1.118, allocations: 0 / 1.014 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.118, allocations: 0 / 1.014 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.118, allocations: 0 / 1.014 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000137/1.118, allocations: 95.61 kB / 1.014 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002671/1.119, allocations: 476 kB / 1.015 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/1.119, allocations: 81.02 kB / 1.015 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/1.119, allocations: 4 kB / 1.015 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/1.119, allocations: 0 / 1.015 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/1.119, allocations: 96 / 1.015 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/1.119, allocations: 3.984 kB / 1.015 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001014/1.119, allocations: 106.1 kB / 1.015 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001064/1.12, allocations: 11.94 kB / 1.015 GB, free: 6.074 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.0001503/1.12, allocations: 109.3 kB / 1.015 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001237/1.12, allocations: 23.92 kB / 1.015 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.12, allocations: 0 / 1.015 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/1.121, allocations: 4 kB / 1.015 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/1.121, allocations: 8 kB / 1.015 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/1.121, allocations: 120.4 kB / 1.015 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/1.122, allocations: 0.7075 MB / 1.016 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of SimCode: time 9.52e-07/1.122, allocations: 0 / 1.016 GB, free: 5.047 MB / 0.6667 GB