Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.From_inH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [: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.339/2.339, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.00252/0.00252, allocations: 188.5 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 1.962/1.962, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001288/0.001288, allocations: 97.64 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.577e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2116, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7124/0.9241, allocations: 131.4 MB / 1.016 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.9244, allocations: 65.84 kB / 1.016 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003877/0.9283, allocations: 0.8409 MB / 1.017 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.9284, allocations: 4 kB / 1.017 GB, free: 6.211 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.0004144/0.9288, allocations: 368.5 kB / 1.018 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.9288, allocations: 8.031 kB / 1.018 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.9289, allocations: 7.906 kB / 1.018 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.9291, allocations: 188.6 kB / 1.018 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.9292, allocations: 4 kB / 1.018 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.9292, allocations: 4 kB / 1.018 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001358/0.9293, allocations: 33.59 kB / 1.018 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.9295, allocations: 80.66 kB / 1.018 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.9296, allocations: 0 / 1.018 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.9296, allocations: 0.625 kB / 1.018 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.9296, allocations: 0 / 1.018 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.9303, allocations: 422.4 kB / 1.018 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.488e-05/0.9304, allocations: 33.22 kB / 1.018 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.9304, allocations: 17.06 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-06/0.9305, allocations: 6.625 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.9305, allocations: 37.47 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.117e-06/0.9305, allocations: 3.984 kB / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001933/0.9307, allocations: 49.03 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.9308, allocations: 77.11 kB / 1.019 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.9309, allocations: 124.7 kB / 1.019 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.931, allocations: 29.77 kB / 1.019 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.9311, allocations: 110.7 kB / 1.019 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.9311, allocations: 7.844 kB / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.9311, allocations: 3.938 kB / 1.019 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9313, allocations: 318.3 kB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.9313, allocations: 7.438 kB / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/0.9313, allocations: 20.72 kB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/0.9314, allocations: 11.44 kB / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9314, allocations: 0 / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001716/0.9316, allocations: 56.59 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.9316, allocations: 4 kB / 1.019 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9316, allocations: 4.562 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.9317, allocations: 0 / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.9318, allocations: 11.84 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.9318, allocations: 3.984 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.9319, allocations: 8.812 kB / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.9319, allocations: 4.062 kB / 1.019 GB, free: 4.066 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.205e-05/0.932, allocations: 103.4 kB / 1.019 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.932, allocations: 8.125 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.9321, allocations: 18.59 kB / 1.019 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.9321, allocations: 3.938 kB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.9321, allocations: 0 / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.9321, allocations: 3.906 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.9327, allocations: 453.4 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.9327, allocations: 8 kB / 1.02 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.9328, allocations: 3.906 kB / 1.02 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.9328, allocations: 4 kB / 1.02 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.9328, allocations: 0 / 1.02 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.9328, allocations: 0 / 1.02 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9328, allocations: 0 / 1.02 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001316/0.9329, allocations: 93.86 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.933, allocations: 85.02 kB / 1.02 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.9331, allocations: 3.984 kB / 1.02 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.592e-05/0.9331, allocations: 0 / 1.02 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.9331, allocations: 10.72 kB / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.9332, allocations: 0 / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.095e-05/0.9333, allocations: 100.5 kB / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002514/0.9335, allocations: 12.03 kB / 1.02 GB, free: 3.109 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.00014/0.9337, allocations: 99.23 kB / 1.02 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.9338, allocations: 18.75 kB / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9338, allocations: 0 / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.9338, allocations: 7.938 kB / 1.02 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.934, allocations: 10.97 kB / 1.02 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.9343, allocations: 120.3 kB / 1.02 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.9347, allocations: 0.7075 MB / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.9347, allocations: 0 / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of Templates: time 0.002983/0.9377, allocations: 380.6 kB / 1.021 GB, free: 1.742 MB / 0.6355 GB