Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_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.07/2.07, allocations: 248.6 MB / 255.9 MB, free: 7.152 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.00169/0.001689, allocations: 183.9 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.1 MB / 0.5658 GB, free: 448 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.001367/0.001367, allocations: 81.58 kB / 0.67 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4645/0.4659, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.6875, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6647/1.352, allocations: 131.4 MB / 1.012 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.353, allocations: 69.45 kB / 1.012 GB, free: 8.715 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.004302/1.357, allocations: 1.203 MB / 1.013 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/1.357, allocations: 8 kB / 1.013 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/1.357, allocations: 7.906 kB / 1.013 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/1.357, allocations: 186.2 kB / 1.013 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/1.357, allocations: 4 kB / 1.013 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/1.357, allocations: 4 kB / 1.013 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001429/1.357, allocations: 33.22 kB / 1.013 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/1.358, allocations: 91.27 kB / 1.013 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.358, allocations: 0 / 1.013 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/1.358, allocations: 0 / 1.013 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.358, allocations: 0 / 1.013 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/1.358, allocations: 418.1 kB / 1.014 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.543e-05/1.359, allocations: 41.06 kB / 1.014 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/1.359, allocations: 13.84 kB / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/1.359, allocations: 4 kB / 1.014 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/1.359, allocations: 30.56 kB / 1.014 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.046e-06/1.359, allocations: 0 / 1.014 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002032/1.359, allocations: 56.03 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.359, allocations: 81.09 kB / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/1.359, allocations: 122.6 kB / 1.014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/1.359, allocations: 33.75 kB / 1.014 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/1.359, allocations: 109.6 kB / 1.014 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/1.359, allocations: 7.344 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/1.359, allocations: 0 / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.359, allocations: 314.8 kB / 1.015 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/1.359, allocations: 10.31 kB / 1.015 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-05/1.359, allocations: 20.89 kB / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.988e-05/1.359, allocations: 11.38 kB / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.359, allocations: 0 / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001306/1.36, allocations: 56.36 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.36, allocations: 8 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.36, allocations: 3.984 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.36, allocations: 0 / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.36, allocations: 7.906 kB / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/1.36, allocations: 4.844 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/1.36, allocations: 3.938 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/1.36, allocations: 4.062 kB / 1.015 GB, free: 5.887 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 7.978e-05/1.36, allocations: 105 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/1.36, allocations: 3.906 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/1.36, allocations: 15.05 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.36, allocations: 3.984 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.36, allocations: 224 / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.619e-06/1.36, allocations: 7.906 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006846/1.361, allocations: 456.4 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-06/1.361, allocations: 0 / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/1.361, allocations: 7.906 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.361, allocations: 0 / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/1.361, allocations: 0 / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.361, allocations: 0 / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.361, allocations: 0 / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001374/1.361, allocations: 98.41 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002839/1.362, allocations: 470.9 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/1.362, allocations: 89.06 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/1.362, allocations: 4 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/1.362, allocations: 0 / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/1.362, allocations: 0 / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/1.362, allocations: 4 kB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.259e-05/1.362, allocations: 101.8 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001125/1.363, allocations: 15.84 kB / 1.016 GB, free: 4.441 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.0001503/1.363, allocations: 95.25 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001211/1.363, allocations: 19.81 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.363, allocations: 0 / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/1.363, allocations: 7.312 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/1.363, allocations: 6.656 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/1.364, allocations: 118.4 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/1.364, allocations: 0.7155 MB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/1.364, allocations: 0 / 1.017 GB, free: 3.438 MB / 0.6355 GB