Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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_cfm,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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.536/2.536, allocations: 248.6 MB / 255.9 MB, free: 360 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.001645/0.001644, allocations: 186 kB / 315.1 MB, free: 7.766 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.298/2.298, allocations: 205.1 MB / 0.5658 GB, free: 25.5 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.002424/0.002424, allocations: 94.95 kB / 0.67 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3041/0.3066, allocations: 112.4 MB / 0.7797 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.8444, allocations: 106.2 MB / 0.8835 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/1.126, allocations: 130.4 MB / 1.011 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/1.126, allocations: 67.91 kB / 1.011 GB, free: 10.62 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.004418/1.131, allocations: 1.208 MB / 1.012 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/1.131, allocations: 12 kB / 1.012 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/1.131, allocations: 7.906 kB / 1.012 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/1.131, allocations: 185.2 kB / 1.012 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/1.131, allocations: 0 / 1.012 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/1.131, allocations: 7.984 kB / 1.012 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001506/1.131, allocations: 40.12 kB / 1.012 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/1.131, allocations: 84.02 kB / 1.012 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/1.131, allocations: 7.938 kB / 1.012 GB, free: 8.984 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/1.132, allocations: 4 kB / 1.012 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/1.132, allocations: 0 / 1.012 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/1.132, allocations: 417.2 kB / 1.013 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.111e-05/1.132, allocations: 37.22 kB / 1.013 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/1.132, allocations: 17.78 kB / 1.013 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/1.132, allocations: 3.984 kB / 1.013 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/1.133, allocations: 38.59 kB / 1.013 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/1.133, allocations: 0 / 1.013 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.000216/1.133, allocations: 45.61 kB / 1.013 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/1.133, allocations: 77.11 kB / 1.013 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/1.133, allocations: 123.7 kB / 1.013 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/1.133, allocations: 25.7 kB / 1.013 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/1.133, allocations: 108.1 kB / 1.013 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/1.133, allocations: 11.97 kB / 1.013 GB, free: 7.977 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/1.133, allocations: 0 / 1.013 GB, free: 7.977 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.133, allocations: 321.4 kB / 1.014 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/1.133, allocations: 7.938 kB / 1.014 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.203e-05/1.133, allocations: 17.72 kB / 1.014 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/1.133, allocations: 12 kB / 1.014 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.133, allocations: 0 / 1.014 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001381/1.134, allocations: 57.59 kB / 1.014 GB, free: 7.551 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.134, allocations: 4 kB / 1.014 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.134, allocations: 0 / 1.014 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.134, allocations: 4 kB / 1.014 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/1.134, allocations: 15.84 kB / 1.014 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.134, allocations: 0 / 1.014 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/1.134, allocations: 7.922 kB / 1.014 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/1.134, allocations: 4 kB / 1.014 GB, free: 7.516 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 7.875e-05/1.134, allocations: 101 kB / 1.014 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/1.134, allocations: 11.97 kB / 1.014 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/1.134, allocations: 11.55 kB / 1.014 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/1.134, allocations: 0 / 1.014 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.134, allocations: 3.938 kB / 1.014 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.134, allocations: 3.906 kB / 1.014 GB, free: 7.379 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/1.135, allocations: 447.4 kB / 1.014 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.135, allocations: 3.938 kB / 1.014 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/1.135, allocations: 11.97 kB / 1.014 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/1.135, allocations: 0 / 1.014 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/1.135, allocations: 4 kB / 1.014 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/1.135, allocations: 3.984 kB / 1.014 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.135, allocations: 0 / 1.014 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001338/1.135, allocations: 87.56 kB / 1.014 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002432/1.135, allocations: 472 kB / 1.015 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/1.135, allocations: 85.02 kB / 1.015 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/1.135, allocations: 3.984 kB / 1.015 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/1.135, allocations: 4 kB / 1.015 GB, free: 6.152 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/1.135, allocations: 4.031 kB / 1.015 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/1.135, allocations: 4 kB / 1.015 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001197/1.136, allocations: 101.9 kB / 1.015 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001128/1.137, allocations: 11.91 kB / 1.015 GB, free: 6.035 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.0001492/1.137, allocations: 101.3 kB / 1.015 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001282/1.137, allocations: 23.94 kB / 1.015 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.137, allocations: 0 / 1.015 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/1.137, allocations: 8.125 kB / 1.015 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/1.137, allocations: 4 kB / 1.015 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/1.138, allocations: 117.5 kB / 1.015 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/1.138, allocations: 0.7075 MB / 1.016 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of SimCode: time 1.413e-06/1.138, allocations: 0 / 1.016 GB, free: 5.02 MB / 0.6667 GB