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_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [: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.155/2.155, allocations: 253.1 MB / 260.4 MB, free: 7.566 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.002327/0.002327, allocations: 189.2 kB / 319.6 MB, free: 3.32 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.044/2.044, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001361/0.00136, allocations: 90.33 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.526e-05/1.517e-05, allocations: 4 kB / 0.7843 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2251, allocations: 106.2 MB / 0.888 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7022/0.9274, allocations: 131.4 MB / 1.016 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.9278, allocations: 70.2 kB / 1.016 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004116/0.9319, allocations: 0.8403 MB / 1.017 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.932, allocations: 4 kB / 1.017 GB, free: 5.562 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.0004783/0.9325, allocations: 369.3 kB / 1.018 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.9325, allocations: 8.031 kB / 1.018 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.9326, allocations: 11.91 kB / 1.018 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.9329, allocations: 174.9 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.9329, allocations: 4 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.9329, allocations: 8 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001527/0.9331, allocations: 37.59 kB / 1.018 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.9333, allocations: 84.48 kB / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9333, allocations: 0 / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.9333, allocations: 3.984 kB / 1.018 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.9334, allocations: 4 kB / 1.018 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/0.9341, allocations: 413.7 kB / 1.018 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.9342, allocations: 45.17 kB / 1.018 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.9343, allocations: 19.61 kB / 1.018 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.9343, allocations: 0 / 1.018 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.9343, allocations: 34.56 kB / 1.018 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.684e-06/0.9343, allocations: 0 / 1.018 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002278/0.9346, allocations: 44.61 kB / 1.019 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.9346, allocations: 83.48 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.9348, allocations: 127.1 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.9349, allocations: 25.7 kB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.9349, allocations: 107.1 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.935, allocations: 7.891 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.935, allocations: 0 / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.9351, allocations: 318.5 kB / 1.019 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.9352, allocations: 4 kB / 1.019 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.9352, allocations: 23.59 kB / 1.019 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.9353, allocations: 11.39 kB / 1.019 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9353, allocations: 0 / 1.019 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001386/0.9354, allocations: 57.36 kB / 1.019 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.9355, allocations: 4 kB / 1.019 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9355, allocations: 0.6875 kB / 1.019 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.9355, allocations: 0 / 1.019 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.9356, allocations: 19.27 kB / 1.019 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.9357, allocations: 4.062 kB / 1.019 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.9357, allocations: 3.938 kB / 1.019 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.9358, allocations: 7.562 kB / 1.019 GB, free: 3.418 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.567e-05/0.9359, allocations: 103.4 kB / 1.019 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.9359, allocations: 12.41 kB / 1.019 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.936, allocations: 11.42 kB / 1.019 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.936, allocations: 0 / 1.019 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.936, allocations: 4 kB / 1.019 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.936, allocations: 3.906 kB / 1.019 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.9366, allocations: 449.9 kB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9366, allocations: 0 / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.9367, allocations: 7.906 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.9367, allocations: 3.984 kB / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.9367, allocations: 0 / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.9367, allocations: 0 / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.9367, allocations: 7.938 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001343/0.9369, allocations: 93 kB / 1.02 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.937, allocations: 85 kB / 1.02 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.937, allocations: 4 kB / 1.02 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.9371, allocations: 0 / 1.02 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.9371, allocations: 3.906 kB / 1.02 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.9371, allocations: 0 / 1.02 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.406e-05/0.9372, allocations: 111.8 kB / 1.02 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002657/0.9375, allocations: 8 kB / 1.02 GB, free: 2.469 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.0001454/0.9376, allocations: 97.78 kB / 1.02 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.9378, allocations: 19.62 kB / 1.02 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9378, allocations: 0 / 1.02 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.9378, allocations: 7.375 kB / 1.02 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.938, allocations: 8.156 kB / 1.02 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.9384, allocations: 118.6 kB / 1.02 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/0.9388, allocations: 0.7075 MB / 1.021 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.9388, allocations: 0 / 1.021 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of Templates: time 0.003156/0.9419, allocations: 378.2 kB / 1.021 GB, free: 1.113 MB / 0.6355 GB