Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.686/2.686, allocations: 248.6 MB / 255.9 MB, free: 7.086 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.001579/0.001579, allocations: 181.2 kB / 315.1 MB, free: 4.289 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.123/2.123, allocations: 205.1 MB / 0.5658 GB, free: 488 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.001338/0.001338, allocations: 78.73 kB / 0.67 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5182/0.5196, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.7909, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8034/1.594, allocations: 131.4 MB / 1.012 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/1.595, allocations: 59.59 kB / 1.012 GB, free: 8.789 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.004614/1.599, allocations: 1.208 MB / 1.013 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.599, allocations: 12 kB / 1.013 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/1.599, allocations: 11.89 kB / 1.013 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/1.6, allocations: 182.4 kB / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/1.6, allocations: 0 / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/1.6, allocations: 4 kB / 1.013 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001501/1.6, allocations: 38.28 kB / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/1.6, allocations: 91.47 kB / 1.013 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.6, allocations: 0 / 1.013 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/1.6, allocations: 0 / 1.013 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.6, allocations: 4 kB / 1.013 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/1.601, allocations: 425 kB / 1.014 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.716e-05/1.601, allocations: 36.72 kB / 1.014 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/1.601, allocations: 9.781 kB / 1.014 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/1.601, allocations: 11.98 kB / 1.014 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/1.601, allocations: 38.09 kB / 1.014 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.847e-06/1.601, allocations: 0 / 1.014 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002189/1.601, allocations: 49.12 kB / 1.014 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/1.602, allocations: 77.11 kB / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/1.602, allocations: 123.6 kB / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/1.602, allocations: 25.7 kB / 1.014 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/1.602, allocations: 107.8 kB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/1.602, allocations: 7.906 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/1.602, allocations: 0 / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.602, allocations: 318.1 kB / 1.015 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/1.602, allocations: 13.69 kB / 1.015 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/1.602, allocations: 17.22 kB / 1.015 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/1.602, allocations: 11.5 kB / 1.015 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.602, allocations: 4 kB / 1.015 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001389/1.602, allocations: 56.41 kB / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.602, allocations: 4 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.602, allocations: 0 / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.602, allocations: 4 kB / 1.015 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/1.603, allocations: 11.84 kB / 1.015 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/1.603, allocations: 0 / 1.015 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/1.603, allocations: 7.922 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/1.603, allocations: 7.984 kB / 1.015 GB, free: 5.938 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.0001316/1.603, allocations: 105 kB / 1.015 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/1.603, allocations: 7.906 kB / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/1.603, allocations: 15.17 kB / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.603, allocations: 0 / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.603, allocations: 0 / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/1.603, allocations: 3.906 kB / 1.015 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/1.604, allocations: 450.8 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.604, allocations: 0 / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/1.604, allocations: 7.906 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.604, allocations: 0 / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/1.604, allocations: 4 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.604, allocations: 3.984 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.604, allocations: 0 / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000132/1.604, allocations: 90.53 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002812/1.604, allocations: 467 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/1.604, allocations: 87.64 kB / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/1.604, allocations: 11.98 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.053e-05/1.604, allocations: 4 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/1.604, allocations: 0 / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/1.604, allocations: 0.875 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001154/1.604, allocations: 102.6 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001069/1.605, allocations: 15.89 kB / 1.016 GB, free: 4.504 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.0001565/1.606, allocations: 95.25 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001271/1.606, allocations: 23.5 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/1.606, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/1.606, allocations: 7.438 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/1.606, allocations: 2.812 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/1.606, allocations: 119.2 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/1.607, allocations: 0.7116 MB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of SimCode: time 1.233e-06/1.607, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB