Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.353/2.353, allocations: 248.6 MB / 255.9 MB, free: 7.207 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.002699/0.002699, allocations: 191.6 kB / 315.1 MB, free: 4.254 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.112/2.112, allocations: 205.1 MB / 0.5658 GB, free: 340 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.001932/0.001932, allocations: 93 kB / 0.67 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5244/0.5264, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.7492, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7061/1.455, allocations: 131.4 MB / 1.012 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/1.456, allocations: 67.53 kB / 1.012 GB, free: 8.672 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.005812/1.462, allocations: 1.218 MB / 1.013 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.462, allocations: 11.94 kB / 1.013 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/1.462, allocations: 7.906 kB / 1.013 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/1.462, allocations: 189.5 kB / 1.013 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/1.462, allocations: 4 kB / 1.013 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/1.462, allocations: 7.938 kB / 1.013 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000144/1.462, allocations: 34.34 kB / 1.013 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/1.462, allocations: 80.27 kB / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/1.462, allocations: 0 / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/1.462, allocations: 0 / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/1.462, allocations: 4 kB / 1.013 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/1.463, allocations: 415.7 kB / 1.014 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/1.463, allocations: 40.34 kB / 1.014 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/1.463, allocations: 17.03 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/1.463, allocations: 0 / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/1.463, allocations: 38.58 kB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/1.464, allocations: 6.516 kB / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002279/1.464, allocations: 40.55 kB / 1.014 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/1.464, allocations: 81.17 kB / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/1.464, allocations: 129 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/1.464, allocations: 29.7 kB / 1.014 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/1.464, allocations: 103.9 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.368e-06/1.464, allocations: 3.906 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/1.464, allocations: 0 / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.464, allocations: 322 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/1.464, allocations: 9.625 kB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/1.464, allocations: 25.41 kB / 1.015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/1.464, allocations: 7.875 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.464, allocations: 0 / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001478/1.465, allocations: 56.72 kB / 1.015 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.465, allocations: 8 kB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.465, allocations: 0 / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.465, allocations: 0 / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/1.465, allocations: 15.91 kB / 1.015 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/1.465, allocations: 4 kB / 1.015 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/1.465, allocations: 3.938 kB / 1.015 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/1.465, allocations: 3.984 kB / 1.015 GB, free: 5.82 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 9.028e-05/1.465, allocations: 105 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/1.465, allocations: 3.906 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/1.465, allocations: 14.95 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/1.465, allocations: 4.703 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.465, allocations: 3.938 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/1.465, allocations: 11.91 kB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/1.466, allocations: 447.7 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.466, allocations: 0.875 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/1.466, allocations: 7.906 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/1.466, allocations: 0 / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/1.466, allocations: 0 / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.466, allocations: 0 / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.466, allocations: 3.984 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001338/1.466, allocations: 91.19 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002801/1.466, allocations: 479.1 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/1.466, allocations: 85.02 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/1.467, allocations: 3.984 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/1.467, allocations: 0 / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/1.467, allocations: 0 / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/1.467, allocations: 4 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.976e-05/1.467, allocations: 97.28 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00111/1.468, allocations: 11.91 kB / 1.016 GB, free: 4.387 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.0001751/1.468, allocations: 107.3 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001368/1.468, allocations: 18.12 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.468, allocations: 0 / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.228e-05/1.468, allocations: 8 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/1.468, allocations: 3.25 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/1.469, allocations: 116.2 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004295/1.469, allocations: 0.7113 MB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/1.469, allocations: 0 / 1.017 GB, free: 3.379 MB / 0.6355 GB