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_quad.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_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [: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.354/2.354, allocations: 253.1 MB / 260.4 MB, free: 11.78 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001644, allocations: 181.5 kB / 319.6 MB, free: 2.312 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.4 MB / 0.5704 GB, free: 8.312 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 97.89 kB / 0.6746 GB, free: 21.82 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.22e-05/1.239e-05, allocations: 0 / 0.7843 GB, free: 5.43 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6407/0.6407, allocations: 106.3 MB / 0.888 GB, free: 64.61 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.8576, allocations: 130.4 MB / 1.015 GB, free: 9.859 MB / 0.6593 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.858, allocations: 64.92 kB / 1.015 GB, free: 9.797 MB / 0.6593 GB Notification: Performance of FrontEnd: time 0.003944/0.8619, allocations: 0.8475 MB / 1.016 GB, free: 8.953 MB / 0.6593 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.862, allocations: 0 / 1.016 GB, free: 8.953 MB / 0.6593 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.0004422/0.8624, allocations: 376.3 kB / 1.017 GB, free: 8.543 MB / 0.6593 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.8625, allocations: 12.03 kB / 1.017 GB, free: 8.531 MB / 0.6593 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.8625, allocations: 8.125 kB / 1.017 GB, free: 8.523 MB / 0.6593 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.8628, allocations: 178.9 kB / 1.017 GB, free: 8.309 MB / 0.6593 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.8628, allocations: 3.938 kB / 1.017 GB, free: 8.305 MB / 0.6593 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.8628, allocations: 8 kB / 1.017 GB, free: 8.297 MB / 0.6593 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001434/0.863, allocations: 31.91 kB / 1.017 GB, free: 8.266 MB / 0.6593 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.8632, allocations: 85.89 kB / 1.017 GB, free: 8.172 MB / 0.6593 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.8633, allocations: 7.938 kB / 1.017 GB, free: 8.164 MB / 0.6593 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.8633, allocations: 4 kB / 1.017 GB, free: 8.16 MB / 0.6593 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.8633, allocations: 0 / 1.017 GB, free: 8.16 MB / 0.6593 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007333/0.864, allocations: 417.2 kB / 1.017 GB, free: 7.711 MB / 0.6593 GB Notification: Performance of preOpt comSubExp (simulation): time 6.686e-05/0.8641, allocations: 37.22 kB / 1.017 GB, free: 7.656 MB / 0.6593 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.8642, allocations: 17.81 kB / 1.017 GB, free: 7.633 MB / 0.6593 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.8642, allocations: 0 / 1.017 GB, free: 7.633 MB / 0.6593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.8642, allocations: 38.56 kB / 1.017 GB, free: 7.586 MB / 0.6593 GB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/0.8643, allocations: 0 / 1.017 GB, free: 7.586 MB / 0.6593 GB Notification: Performance of matching and sorting (n=2): time 0.0001985/0.8645, allocations: 41.61 kB / 1.018 GB, free: 7.539 MB / 0.6593 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.8645, allocations: 85.05 kB / 1.018 GB, free: 7.438 MB / 0.6593 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.8647, allocations: 121.1 kB / 1.018 GB, free: 7.309 MB / 0.6593 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.8647, allocations: 25.7 kB / 1.018 GB, free: 7.277 MB / 0.6593 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.8648, allocations: 112 kB / 1.018 GB, free: 7.164 MB / 0.6593 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.8648, allocations: 11.91 kB / 1.018 GB, free: 7.152 MB / 0.6593 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.8649, allocations: 4.062 kB / 1.018 GB, free: 7.148 MB / 0.6593 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.865, allocations: 310.8 kB / 1.018 GB, free: 6.836 MB / 0.6593 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.865, allocations: 8 kB / 1.018 GB, free: 6.828 MB / 0.6593 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/0.8651, allocations: 21.72 kB / 1.018 GB, free: 6.801 MB / 0.6593 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.955e-05/0.8651, allocations: 11.98 kB / 1.018 GB, free: 6.789 MB / 0.6593 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8652, allocations: 0 / 1.018 GB, free: 6.789 MB / 0.6593 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001885/0.8654, allocations: 53.61 kB / 1.018 GB, free: 6.73 MB / 0.6593 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.8654, allocations: 8 kB / 1.018 GB, free: 6.723 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.8654, allocations: 0 / 1.018 GB, free: 6.723 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.8654, allocations: 4 kB / 1.018 GB, free: 6.719 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.8656, allocations: 11.89 kB / 1.018 GB, free: 6.707 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.8656, allocations: 0 / 1.018 GB, free: 6.707 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.8658, allocations: 10.41 kB / 1.018 GB, free: 6.699 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.8658, allocations: 0 / 1.018 GB, free: 6.699 MB / 0.6593 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.0001291/0.8659, allocations: 105 kB / 1.018 GB, free: 6.59 MB / 0.6593 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.8661, allocations: 11.98 kB / 1.018 GB, free: 6.578 MB / 0.6593 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.8662, allocations: 15.55 kB / 1.018 GB, free: 6.562 MB / 0.6593 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.8662, allocations: 3.938 kB / 1.018 GB, free: 6.559 MB / 0.6593 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.8662, allocations: 0 / 1.018 GB, free: 6.559 MB / 0.6593 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.8662, allocations: 7.891 kB / 1.018 GB, free: 6.551 MB / 0.6593 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009346/0.8672, allocations: 443.4 kB / 1.019 GB, free: 6.066 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.8672, allocations: 4 kB / 1.019 GB, free: 6.062 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.8673, allocations: 11.89 kB / 1.019 GB, free: 6.051 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.8673, allocations: 8.062 kB / 1.019 GB, free: 6.043 MB / 0.6593 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.8674, allocations: 0 / 1.019 GB, free: 6.043 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.8674, allocations: 0 / 1.019 GB, free: 6.043 MB / 0.6593 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.8674, allocations: 0 / 1.019 GB, free: 6.043 MB / 0.6593 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002158/0.8676, allocations: 87.56 kB / 1.019 GB, free: 5.93 MB / 0.6593 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.8678, allocations: 89 kB / 1.019 GB, free: 5.824 MB / 0.6593 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.8678, allocations: 4.031 kB / 1.019 GB, free: 5.82 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.241e-05/0.8679, allocations: 0 / 1.019 GB, free: 5.82 MB / 0.6593 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.8679, allocations: 3.906 kB / 1.019 GB, free: 5.816 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.868, allocations: 4 kB / 1.019 GB, free: 5.812 MB / 0.6593 GB Notification: Performance of sort global known variables: time 0.0001542/0.8681, allocations: 105.9 kB / 1.019 GB, free: 5.711 MB / 0.6593 GB Notification: Performance of remove unused functions: time 0.0005401/0.8687, allocations: 8 kB / 1.019 GB, free: 5.703 MB / 0.6593 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.0002217/0.8689, allocations: 95.25 kB / 1.019 GB, free: 5.602 MB / 0.6593 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.8691, allocations: 23.94 kB / 1.019 GB, free: 5.578 MB / 0.6593 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8691, allocations: 0 / 1.019 GB, free: 5.578 MB / 0.6593 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.8692, allocations: 8 kB / 1.019 GB, free: 5.57 MB / 0.6593 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.8695, allocations: 11.84 kB / 1.019 GB, free: 5.559 MB / 0.6593 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/0.8702, allocations: 108.3 kB / 1.019 GB, free: 5.426 MB / 0.6593 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006654/0.8709, allocations: 0.7155 MB / 1.02 GB, free: 4.684 MB / 0.6593 GB Notification: Performance of SimCode: time 1.753e-06/0.871, allocations: 0 / 1.02 GB, free: 4.684 MB / 0.6593 GB Notification: Performance of Templates: time 0.004893/0.8759, allocations: 361 kB / 1.02 GB, free: 4.336 MB / 0.6593 GB