Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.33/2.33, allocations: 253.1 MB / 260.4 MB, free: 7.531 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.001698, allocations: 189.2 kB / 319.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.4 MB / 0.5704 GB, free: 15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001291/0.001291, allocations: 106.2 kB / 0.6746 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.216e-05/1.219e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2291, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7124/0.9415, allocations: 131.4 MB / 1.016 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.9419, allocations: 72.81 kB / 1.016 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004004/0.9459, allocations: 0.8459 MB / 1.017 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.9459, allocations: 4 kB / 1.017 GB, free: 6.141 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.0004173/0.9464, allocations: 371.6 kB / 1.018 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.9464, allocations: 8.031 kB / 1.018 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.9465, allocations: 7.906 kB / 1.018 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.9467, allocations: 174.9 kB / 1.018 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.9467, allocations: 7.938 kB / 1.018 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.9467, allocations: 4 kB / 1.018 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001406/0.9469, allocations: 38.09 kB / 1.018 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.9471, allocations: 84.02 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.9471, allocations: 0 / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.9471, allocations: 0 / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.9471, allocations: 4 kB / 1.018 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007194/0.9479, allocations: 421.5 kB / 1.018 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.322e-05/0.948, allocations: 36.03 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.948, allocations: 13.84 kB / 1.018 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.948, allocations: 6.625 kB / 1.018 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.9481, allocations: 42.34 kB / 1.018 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/0.9481, allocations: 0 / 1.018 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002102/0.9483, allocations: 40.98 kB / 1.019 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.9484, allocations: 81.09 kB / 1.019 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.9486, allocations: 127.4 kB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.9486, allocations: 25.7 kB / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.9487, allocations: 107.9 kB / 1.019 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.9487, allocations: 3.906 kB / 1.019 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.9487, allocations: 0 / 1.019 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9489, allocations: 318 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.9489, allocations: 11 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.645e-05/0.949, allocations: 21.33 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.949, allocations: 11.31 kB / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9491, allocations: 0 / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.9492, allocations: 57.27 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.9492, allocations: 10.17 kB / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9492, allocations: 0.6875 kB / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.9493, allocations: 3.906 kB / 1.019 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.9494, allocations: 11.94 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.9494, allocations: 0 / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.9495, allocations: 3.938 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.9495, allocations: 0 / 1.019 GB, free: 4.004 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 8.693e-05/0.9496, allocations: 111.5 kB / 1.019 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.9497, allocations: 12.62 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.9497, allocations: 14.59 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.9497, allocations: 8.016 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.9498, allocations: 7.906 kB / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.9498, allocations: 0 / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.9503, allocations: 453.3 kB / 1.02 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.9503, allocations: 3.906 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.9504, allocations: 4 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9504, allocations: 0 / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.9504, allocations: 0 / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.9504, allocations: 0 / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.9505, allocations: 4 kB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001346/0.9506, allocations: 90.3 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.9507, allocations: 88.58 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.9507, allocations: 4 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.66e-05/0.9508, allocations: 0 / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.9508, allocations: 3.906 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.9508, allocations: 0 / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.746e-05/0.9509, allocations: 105.6 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002647/0.9512, allocations: 8 kB / 1.02 GB, free: 3.043 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.0001514/0.9514, allocations: 99.28 kB / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.9515, allocations: 15.44 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9515, allocations: 0 / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/0.9515, allocations: 15.61 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.9517, allocations: 7.906 kB / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.9521, allocations: 110.9 kB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.9525, allocations: 0.7114 MB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.9525, allocations: 0 / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of Templates: time 0.003146/0.9557, allocations: 376.7 kB / 1.021 GB, free: 1.68 MB / 0.6355 GB