Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_Btu,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_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.457/2.457, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.002523/0.002523, allocations: 191.2 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.908/1.908, allocations: 205.1 MB / 0.5658 GB, free: 464 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.001354/0.001353, allocations: 91.31 kB / 0.67 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5003/0.5017, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.7395, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7363/1.476, allocations: 131.4 MB / 1.012 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003975/1.476, allocations: 65.45 kB / 1.012 GB, free: 8.73 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.006728/1.483, allocations: 1.215 MB / 1.013 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/1.483, allocations: 12.75 kB / 1.013 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/1.483, allocations: 8.844 kB / 1.013 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/1.484, allocations: 182.2 kB / 1.013 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/1.484, allocations: 0 / 1.013 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/1.484, allocations: 8 kB / 1.013 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002074/1.484, allocations: 30.72 kB / 1.013 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/1.484, allocations: 85.89 kB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/1.484, allocations: 4 kB / 1.013 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.484, allocations: 3.938 kB / 1.013 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/1.484, allocations: 0 / 1.013 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/1.485, allocations: 426.5 kB / 1.014 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/1.486, allocations: 35.84 kB / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.95e-05/1.486, allocations: 16.41 kB / 1.014 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/1.486, allocations: 4 kB / 1.014 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/1.486, allocations: 34.59 kB / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.043e-06/1.486, allocations: 0 / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003271/1.486, allocations: 47.73 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/1.486, allocations: 77.11 kB / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/1.487, allocations: 128.9 kB / 1.014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/1.487, allocations: 29.77 kB / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/1.487, allocations: 107.2 kB / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/1.487, allocations: 7.906 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/1.487, allocations: 0 / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000259/1.487, allocations: 314.3 kB / 1.015 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.617e-05/1.487, allocations: 14 kB / 1.015 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.919e-05/1.487, allocations: 24.7 kB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.951e-05/1.487, allocations: 11.56 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.487, allocations: 0 / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002074/1.488, allocations: 52.36 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.488, allocations: 4 kB / 1.015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.488, allocations: 4 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.488, allocations: 0 / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/1.488, allocations: 15.83 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/1.488, allocations: 0 / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/1.488, allocations: 7.938 kB / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/1.488, allocations: 64 / 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 0.0001358/1.488, allocations: 105 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/1.488, allocations: 7.906 kB / 1.015 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.054e-05/1.488, allocations: 15.11 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.488, allocations: 0 / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.488, allocations: 4.203 kB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/1.488, allocations: 4 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000829/1.489, allocations: 451.2 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.489, allocations: 11.97 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/1.489, allocations: 3.906 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.489, allocations: 4 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/1.489, allocations: 0 / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.489, allocations: 0 / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.489, allocations: 0 / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00022/1.49, allocations: 87.38 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00038/1.49, allocations: 477.9 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/1.49, allocations: 85.06 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/1.49, allocations: 8 kB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/1.49, allocations: 0 / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/1.49, allocations: 0 / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/1.49, allocations: 0 / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.00016/1.491, allocations: 105.8 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001827/1.492, allocations: 11.91 kB / 1.016 GB, free: 4.445 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.0002259/1.493, allocations: 98.48 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001829/1.493, allocations: 26.69 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.493, allocations: 0 / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/1.493, allocations: 4 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.0002238/1.493, allocations: 6.688 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.0005796/1.494, allocations: 115 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005112/1.494, allocations: 0.7174 MB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of SimCode: time 2.926e-06/1.494, allocations: 0 / 1.017 GB, free: 3.441 MB / 0.6355 GB