Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_BtuPerHour,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_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.402/2.402, 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.001747/0.001746, allocations: 183.9 kB / 315.1 MB, free: 4.305 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.22/2.22, allocations: 205.1 MB / 0.5658 GB, free: 328 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.001878/0.001879, allocations: 90.52 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5461/0.548, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.8142, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7316/1.546, allocations: 131.4 MB / 1.012 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/1.546, allocations: 69.7 kB / 1.012 GB, free: 8.734 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.00829/1.555, allocations: 1.212 MB / 1.013 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.555, allocations: 8 kB / 1.013 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/1.555, allocations: 13.72 kB / 1.013 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/1.555, allocations: 174.9 kB / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/1.555, allocations: 4 kB / 1.013 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/1.555, allocations: 4 kB / 1.013 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000297/1.555, allocations: 40.7 kB / 1.013 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/1.556, allocations: 86.59 kB / 1.013 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.556, allocations: 0 / 1.013 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/1.556, allocations: 3.984 kB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.556, allocations: 4 kB / 1.013 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/1.557, allocations: 414.8 kB / 1.014 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.661e-05/1.557, allocations: 40.5 kB / 1.014 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/1.557, allocations: 16.59 kB / 1.014 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/1.557, allocations: 0 / 1.014 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/1.557, allocations: 38.56 kB / 1.014 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.868e-06/1.557, allocations: 0 / 1.014 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002224/1.557, allocations: 48.11 kB / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/1.557, allocations: 81.09 kB / 1.014 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/1.557, allocations: 129.1 kB / 1.014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/1.558, allocations: 25.7 kB / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/1.558, allocations: 110.9 kB / 1.014 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/1.558, allocations: 3.906 kB / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/1.558, allocations: 0 / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.558, allocations: 317.7 kB / 1.015 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.463e-05/1.558, allocations: 14.17 kB / 1.015 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/1.558, allocations: 17.66 kB / 1.015 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/1.558, allocations: 7.75 kB / 1.015 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.558, allocations: 0 / 1.015 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001442/1.558, allocations: 65.47 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.558, allocations: 4 kB / 1.015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.558, allocations: 0 / 1.015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.558, allocations: 0 / 1.015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/1.558, allocations: 11.91 kB / 1.015 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.558, allocations: 0 / 1.015 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/1.558, allocations: 7.875 kB / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-06/1.558, allocations: 0 / 1.015 GB, free: 5.898 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.141e-05/1.559, allocations: 109 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/1.559, allocations: 7.906 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/1.559, allocations: 15.41 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/1.559, allocations: 0 / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.559, allocations: 4.219 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/1.559, allocations: 3.906 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/1.559, allocations: 449 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.559, allocations: 4.062 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/1.559, allocations: 7.906 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/1.559, allocations: 0 / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/1.559, allocations: 0 / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.559, allocations: 0 / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.559, allocations: 11.88 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001314/1.56, allocations: 93.17 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002828/1.56, allocations: 463.7 kB / 1.016 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.846e-05/1.56, allocations: 89 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/1.56, allocations: 0 / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/1.56, allocations: 4.062 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/1.56, allocations: 3.938 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/1.56, allocations: 4 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001501/1.56, allocations: 104.1 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001064/1.561, allocations: 15.91 kB / 1.016 GB, free: 4.453 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.0001686/1.561, allocations: 95.25 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001302/1.562, allocations: 11.31 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.562, allocations: 8.125 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/1.562, allocations: 11.06 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/1.562, allocations: 5.406 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/1.562, allocations: 112 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/1.563, allocations: 0.7114 MB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of SimCode: time 1.543e-06/1.563, allocations: 4.125 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB