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.AddParameter.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.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") [: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.731/2.731, allocations: 253.1 MB / 260.4 MB, free: 7.406 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.001639/0.001639, allocations: 181.2 kB / 319.6 MB, free: 3.328 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.978/1.978, 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.001301/0.001301, allocations: 100.8 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.591e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2207, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6739/0.8947, allocations: 131.4 MB / 1.016 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.895, allocations: 71.33 kB / 1.016 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002267/0.8973, allocations: 340.3 kB / 1.017 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.8974, allocations: 0 / 1.017 GB, free: 6.633 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.0004944/0.8979, allocations: 342.8 kB / 1.017 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.8979, allocations: 8.781 kB / 1.017 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.898, allocations: 0 / 1.017 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.8982, allocations: 174.9 kB / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.8982, allocations: 0 / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.8982, allocations: 0 / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.508e-05/0.8983, allocations: 11.5 kB / 1.017 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.98e-05/0.8984, allocations: 33.27 kB / 1.017 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.8985, allocations: 11.92 kB / 1.017 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.8985, allocations: 3.938 kB / 1.017 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.8985, allocations: 0 / 1.017 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.8991, allocations: 252.5 kB / 1.018 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.141e-05/0.8992, allocations: 22.14 kB / 1.018 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.8993, allocations: 12.55 kB / 1.018 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.8993, allocations: 0 / 1.018 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.8994, allocations: 34.56 kB / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.8994, allocations: 2.625 kB / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002135/0.8996, allocations: 53.03 kB / 1.018 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.8996, allocations: 51.41 kB / 1.018 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.8998, allocations: 96.44 kB / 1.018 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.8998, allocations: 25.7 kB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.8999, allocations: 80.14 kB / 1.018 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.8999, allocations: 7.469 kB / 1.018 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.8999, allocations: 0 / 1.018 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.9001, allocations: 318.8 kB / 1.018 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.9001, allocations: 7.656 kB / 1.018 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.9001, allocations: 4 kB / 1.018 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.9002, allocations: 7.25 kB / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9002, allocations: 0 / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001087/0.9003, allocations: 40.67 kB / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.9003, allocations: 8 kB / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.9004, allocations: 2.625 kB / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.9004, allocations: 0 / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.9006, allocations: 20.02 kB / 1.018 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.9006, allocations: 0 / 1.018 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.9007, allocations: 11.98 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.9008, allocations: 0 / 1.018 GB, free: 4.875 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.513e-05/0.9009, allocations: 101 kB / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.9009, allocations: 11.91 kB / 1.018 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.901, allocations: 11.2 kB / 1.018 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.901, allocations: 3.938 kB / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.901, allocations: 0 / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.901, allocations: 0 / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.9012, allocations: 145.6 kB / 1.019 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.9012, allocations: 4 kB / 1.019 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.9014, allocations: 11.98 kB / 1.019 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.9014, allocations: 4 kB / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.9014, allocations: 0 / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.9014, allocations: 0 / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9014, allocations: 0 / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001783/0.9016, allocations: 139 kB / 1.019 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.9017, allocations: 81.05 kB / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.9017, allocations: 4.859 kB / 1.019 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.9019, allocations: 12.03 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.9019, allocations: 7.234 kB / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.9019, allocations: 4 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.125e-05/0.902, allocations: 83.69 kB / 1.019 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002861/0.9023, allocations: 4 kB / 1.019 GB, free: 4.195 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.0001574/0.9024, allocations: 95.25 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.9026, allocations: 19.25 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9026, allocations: 0 / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.74e-05/0.9026, allocations: 8 kB / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.9029, allocations: 0 / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.9032, allocations: 70.28 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.9036, allocations: 0.6919 MB / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/0.9036, allocations: 0 / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.003273/0.9069, allocations: 401.7 kB / 1.02 GB, free: 2.887 MB / 0.6355 GB