Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [: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.337/2.337, allocations: 253.1 MB / 260.4 MB, free: 480 kB / 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.001711/0.001711, allocations: 183.6 kB / 319.6 MB, free: 7.574 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.515/2.515, allocations: 205.4 MB / 0.5704 GB, free: 25.8 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.001394/0.001394, allocations: 86.14 kB / 0.6746 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.533e-05/1.552e-05, allocations: 0 / 0.7843 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6449/0.6449, allocations: 106.2 MB / 0.8881 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2354/0.8804, allocations: 129.8 MB / 1.015 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.8807, allocations: 71.95 kB / 1.015 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.0004942/0.8812, allocations: 63.89 kB / 1.015 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.8813, allocations: 0 / 1.015 GB, free: 10.96 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003259/0.8816, allocations: 302.6 kB / 1.015 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.8817, allocations: 8.031 kB / 1.015 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.8817, allocations: 3.906 kB / 1.015 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.8819, allocations: 159.1 kB / 1.015 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.8819, allocations: 8 kB / 1.015 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.8819, allocations: 0 / 1.015 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.432e-05/0.882, allocations: 7.875 kB / 1.015 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.143e-05/0.8821, allocations: 33.69 kB / 1.015 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.8821, allocations: 4 kB / 1.015 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.8821, allocations: 0 / 1.015 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.8821, allocations: 3.906 kB / 1.016 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.8825, allocations: 356 kB / 1.016 GB, free: 9.969 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.8826, allocations: 173.2 kB / 1.016 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.8827, allocations: 88.14 kB / 1.016 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.8827, allocations: 75.28 kB / 1.016 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.323e-05/0.8828, allocations: 105.8 kB / 1.016 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.8828, allocations: 0 / 1.016 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.199e-05/0.8829, allocations: 33.55 kB / 1.016 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.883, allocations: 51.41 kB / 1.016 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.8831, allocations: 93 kB / 1.016 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.8831, allocations: 25.7 kB / 1.016 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.8831, allocations: 80.14 kB / 1.017 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.8832, allocations: 0 / 1.017 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-07/0.8832, allocations: 0 / 1.017 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.8833, allocations: 314.8 kB / 1.017 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-06/0.8833, allocations: 0 / 1.017 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/0.8834, allocations: 2.469 kB / 1.017 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.8834, allocations: 87.39 kB / 1.017 GB, free: 8.797 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.592e-05/0.8834, allocations: 75.28 kB / 1.017 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.963e-05/0.8835, allocations: 25.7 kB / 1.017 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8835, allocations: 4 kB / 1.017 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.306e-05/0.8836, allocations: 83.22 kB / 1.017 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.087e-05/0.8837, allocations: 150.6 kB / 1.017 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.076e-05/0.8838, allocations: 78.28 kB / 1.017 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.877e-05/0.8838, allocations: 162.4 kB / 1.017 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.29e-05/0.8839, allocations: 79.28 kB / 1.018 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.884, allocations: 79.27 kB / 1.018 GB, free: 8.066 MB / 0.6667 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 (0): * Single equations (assignments): 0 * 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.0001374/0.8841, allocations: 255.5 kB / 1.018 GB, free: 7.809 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.8842, allocations: 105 kB / 1.018 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.62e-05/0.8843, allocations: 112 kB / 1.018 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-05/0.8844, allocations: 180.3 kB / 1.018 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.528e-05/0.8845, allocations: 184.2 kB / 1.018 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.733e-05/0.8846, allocations: 184.5 kB / 1.019 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.8849, allocations: 381.8 kB / 1.019 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.443e-05/0.885, allocations: 104.9 kB / 1.019 GB, free: 6.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.885, allocations: 109 kB / 1.019 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.719e-05/0.8851, allocations: 180.3 kB / 1.019 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.8852, allocations: 180.2 kB / 1.02 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.216e-05/0.8853, allocations: 184.2 kB / 1.02 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.579e-05/0.8854, allocations: 180.2 kB / 1.02 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001628/0.8856, allocations: 307.7 kB / 1.02 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.8857, allocations: 182.5 kB / 1.02 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/0.8858, allocations: 180.2 kB / 1.02 GB, free: 4.938 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.8859, allocations: 105 kB / 1.021 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.886, allocations: 184.3 kB / 1.021 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.8861, allocations: 112.9 kB / 1.021 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.698e-05/0.8861, allocations: 75.28 kB / 1.021 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003272/0.8865, allocations: 0 / 1.021 GB, free: 4.449 MB / 0.6667 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 (0): * Single equations (assignments): 0 * 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.0001884/0.8867, allocations: 170.5 kB / 1.021 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 4.075e-05/0.8867, allocations: 4 kB / 1.021 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8867, allocations: 0 / 1.021 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.8867, allocations: 96 / 1.021 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.8871, allocations: 0.5326 MB / 1.022 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.8874, allocations: 123.2 kB / 1.022 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.8877, allocations: 0.6763 MB / 1.022 GB, free: 2.883 MB / 0.6667 GB Notification: Performance of SimCode: time 7.72e-07/0.8877, allocations: 0 / 1.022 GB, free: 2.883 MB / 0.6667 GB Notification: Performance of Templates: time 0.002049/0.8897, allocations: 152.2 kB / 1.023 GB, free: 2.734 MB / 0.6667 GB