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.Gain.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.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") [: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.55/2.55, allocations: 253.1 MB / 260.4 MB, free: 7.496 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.001693/0.001693, allocations: 200.9 kB / 319.6 MB, free: 3.324 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.03/2.03, 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.001268/0.001268, allocations: 93.95 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.226e-05/1.237e-05, allocations: 8 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2005, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6954/0.896, allocations: 131.4 MB / 1.016 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.8964, allocations: 72.02 kB / 1.016 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002812/0.8992, allocations: 317 kB / 1.017 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.8993, allocations: 0 / 1.017 GB, free: 6.645 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.0005871/0.8999, allocations: 348.2 kB / 1.017 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.9, allocations: 8.031 kB / 1.017 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.9, allocations: 0 / 1.017 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.9002, allocations: 167 kB / 1.017 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.9003, allocations: 4 kB / 1.017 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.9003, allocations: 0 / 1.017 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001179/0.9004, allocations: 19.61 kB / 1.017 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.9005, allocations: 30.77 kB / 1.017 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.9006, allocations: 0 / 1.017 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.9006, allocations: 0 / 1.017 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.9006, allocations: 0 / 1.017 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.9013, allocations: 252 kB / 1.017 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.9014, allocations: 29.94 kB / 1.018 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.9015, allocations: 8.922 kB / 1.018 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.9015, allocations: 0 / 1.018 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.9016, allocations: 42 kB / 1.018 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.9016, allocations: 2.625 kB / 1.018 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002484/0.9019, allocations: 41.05 kB / 1.018 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.9019, allocations: 51.41 kB / 1.018 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.9021, allocations: 97.86 kB / 1.018 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.9021, allocations: 25.7 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.9022, allocations: 87.45 kB / 1.018 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.9022, allocations: 3.906 kB / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.9022, allocations: 4.031 kB / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.9024, allocations: 310.8 kB / 1.018 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/0.9025, allocations: 7.438 kB / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.9025, allocations: 7.688 kB / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.9026, allocations: 4 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9026, allocations: 0 / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001613/0.9028, allocations: 45.56 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.9028, allocations: 4 kB / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.9028, allocations: 4.094 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.9029, allocations: 7.906 kB / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.9031, allocations: 12.83 kB / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.9031, allocations: 0 / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.9033, allocations: 8.812 kB / 1.018 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.9033, allocations: 4 kB / 1.018 GB, free: 4.891 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 0.0001021/0.9034, allocations: 101 kB / 1.018 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.9035, allocations: 7.891 kB / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.9036, allocations: 15.2 kB / 1.018 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.9036, allocations: 0 / 1.018 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.9036, allocations: 0 / 1.018 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.9036, allocations: 3.938 kB / 1.018 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.9039, allocations: 133.9 kB / 1.019 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.9039, allocations: 256 / 1.019 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.9041, allocations: 19.98 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.9041, allocations: 4 kB / 1.019 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.9041, allocations: 3.906 kB / 1.019 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.9042, allocations: 0 / 1.019 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9042, allocations: 0 / 1.019 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002572/0.9044, allocations: 146 kB / 1.019 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.9045, allocations: 81.02 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.9046, allocations: 0 / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.9048, allocations: 11.98 kB / 1.019 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.9049, allocations: 0 / 1.019 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.9049, allocations: 0 / 1.019 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.08e-05/0.905, allocations: 82.41 kB / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005217/0.9055, allocations: 8.031 kB / 1.019 GB, free: 4.223 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.000199/0.9057, allocations: 95.25 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.9059, allocations: 15.23 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9059, allocations: 0 / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.906, allocations: 15.38 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.9064, allocations: 3.906 kB / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.9068, allocations: 70.83 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.9072, allocations: 0.6874 MB / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.9073, allocations: 0 / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of Templates: time 0.004008/0.9113, allocations: 407.4 kB / 1.02 GB, free: 2.902 MB / 0.6355 GB