Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") [: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.235/2.235, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.001643/0.001643, allocations: 177.3 kB / 319.6 MB, free: 3.316 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.995/1.995, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001794/0.001794, allocations: 93.22 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.788e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2159, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7009/0.9169, allocations: 131.4 MB / 1.016 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.9172, allocations: 76.19 kB / 1.016 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002316/0.9195, allocations: 358.6 kB / 1.017 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.9196, allocations: 4 kB / 1.017 GB, free: 6.488 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004581/0.92, allocations: 336.8 kB / 1.017 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.9201, allocations: 8.031 kB / 1.017 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.9201, allocations: 0 / 1.017 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.9204, allocations: 171.1 kB / 1.017 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.9204, allocations: 3.906 kB / 1.017 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.9204, allocations: 0 / 1.017 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.319e-05/0.9205, allocations: 10.5 kB / 1.017 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.998e-05/0.9206, allocations: 41.62 kB / 1.017 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.9206, allocations: 0 / 1.017 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.9206, allocations: 0 / 1.017 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.9207, allocations: 0 / 1.017 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.9212, allocations: 248.6 kB / 1.018 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.945e-05/0.9213, allocations: 22.2 kB / 1.018 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.9213, allocations: 16.47 kB / 1.018 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.9214, allocations: 4.047 kB / 1.018 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.9214, allocations: 38.55 kB / 1.018 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/0.9214, allocations: 0 / 1.018 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.00019/0.9216, allocations: 45.03 kB / 1.018 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.9217, allocations: 51.41 kB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.465e-05/0.9218, allocations: 92.56 kB / 1.018 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.9218, allocations: 25.7 kB / 1.018 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.9219, allocations: 92.06 kB / 1.018 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.9219, allocations: 4 kB / 1.018 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.9219, allocations: 0 / 1.018 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9221, allocations: 318.3 kB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.9221, allocations: 4 kB / 1.018 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.9221, allocations: 0 / 1.018 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.9222, allocations: 7.562 kB / 1.018 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9222, allocations: 0 / 1.018 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001068/0.9223, allocations: 45.16 kB / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.9223, allocations: 12 kB / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.9223, allocations: 0 / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.9224, allocations: 0 / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.9225, allocations: 8 kB / 1.018 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.9225, allocations: 3.984 kB / 1.018 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.9227, allocations: 19.59 kB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.9227, allocations: 0 / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.783e-05/0.9228, allocations: 101 kB / 1.018 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.9228, allocations: 4 kB / 1.018 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.923, allocations: 52.45 kB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.923, allocations: 3.906 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.923, allocations: 0 / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.923, allocations: 0 / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.9232, allocations: 141.9 kB / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.9232, allocations: 0 / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.9234, allocations: 15.94 kB / 1.019 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.9234, allocations: 3.984 kB / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.9234, allocations: 0 / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.9234, allocations: 0 / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.9235, allocations: 0 / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001855/0.9237, allocations: 142.5 kB / 1.019 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.9237, allocations: 81.02 kB / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.9238, allocations: 6.609 kB / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.9239, allocations: 8 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.924, allocations: 3.984 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.924, allocations: 0 / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.068e-05/0.924, allocations: 86.81 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002924/0.9243, allocations: 4 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001715/0.9245, allocations: 95.25 kB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.9246, allocations: 15.56 kB / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9247, allocations: 0 / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.615e-05/0.9247, allocations: 8 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.925, allocations: 4.125 kB / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.9253, allocations: 65.02 kB / 1.019 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.9256, allocations: 0.6949 MB / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of SimCode: time 7.91e-07/0.9257, allocations: 0 / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of Templates: time 0.002979/0.9286, allocations: 400.4 kB / 1.02 GB, free: 2.727 MB / 0.6355 GB