Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.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.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") [: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.231/2.231, allocations: 253.1 MB / 260.4 MB, free: 7.438 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.00169/0.00169, allocations: 189.2 kB / 319.6 MB, free: 3.312 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.425/2.425, 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.001295/0.001295, allocations: 87.39 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.628e-05/1.645e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2503, allocations: 106.3 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7799/1.03, allocations: 130.9 MB / 1.016 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.031, allocations: 67.83 kB / 1.016 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0004374/1.031, allocations: 45.66 kB / 1.016 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.593e-06/1.031, allocations: 4.062 kB / 1.016 GB, free: 7.344 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002876/1.031, allocations: 298.5 kB / 1.016 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.031, allocations: 12.03 kB / 1.016 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/1.031, allocations: 3.906 kB / 1.016 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/1.032, allocations: 163.1 kB / 1.016 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/1.032, allocations: 0 / 1.016 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/1.032, allocations: 4 kB / 1.016 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.346e-05/1.032, allocations: 0 / 1.016 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.316e-05/1.032, allocations: 28.83 kB / 1.016 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/1.032, allocations: 0 / 1.016 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/1.032, allocations: 0 / 1.016 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.032, allocations: 7.938 kB / 1.017 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/1.032, allocations: 130.2 kB / 1.017 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.588e-05/1.032, allocations: 14.58 kB / 1.017 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/1.032, allocations: 8.953 kB / 1.017 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/1.032, allocations: 0 / 1.017 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/1.032, allocations: 34.84 kB / 1.017 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.895e-06/1.032, allocations: 0 / 1.017 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001431/1.032, allocations: 40.31 kB / 1.017 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/1.032, allocations: 51.41 kB / 1.017 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.606e-05/1.032, allocations: 85 kB / 1.017 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/1.032, allocations: 29.64 kB / 1.017 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/1.033, allocations: 80.14 kB / 1.017 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/1.033, allocations: 3.906 kB / 1.017 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/1.033, allocations: 4 kB / 1.017 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.033, allocations: 310.8 kB / 1.017 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/1.033, allocations: 7.969 kB / 1.017 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/1.033, allocations: 3.938 kB / 1.017 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.705e-05/1.033, allocations: 0 / 1.017 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.033, allocations: 4 kB / 1.017 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.853e-05/1.033, allocations: 29.7 kB / 1.017 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.033, allocations: 7.984 kB / 1.017 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.033, allocations: 0 / 1.017 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.033, allocations: 0 / 1.017 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/1.033, allocations: 4 kB / 1.017 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/1.033, allocations: 0 / 1.017 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/1.033, allocations: 8 kB / 1.017 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/1.033, allocations: 0 / 1.017 GB, free: 5.812 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 (1): * Single equations (assignments): 1 * 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.504e-05/1.033, allocations: 101 kB / 1.017 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/1.033, allocations: 0 / 1.017 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/1.033, allocations: 6.953 kB / 1.017 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.033, allocations: 7.938 kB / 1.017 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.033, allocations: 3.938 kB / 1.017 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.033, allocations: 0 / 1.017 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/1.033, allocations: 134.8 kB / 1.018 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.033, allocations: 4 kB / 1.018 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.695e-05/1.033, allocations: 3.984 kB / 1.018 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.033, allocations: 4 kB / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/1.033, allocations: 0 / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.034, allocations: 0 / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.034, allocations: 0 / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.495e-05/1.034, allocations: 60.78 kB / 1.018 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/1.034, allocations: 77.11 kB / 1.018 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/1.034, allocations: 8.031 kB / 1.018 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-06/1.034, allocations: 0 / 1.018 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/1.034, allocations: 0 / 1.018 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/1.034, allocations: 0 / 1.018 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.018e-05/1.034, allocations: 75.28 kB / 1.018 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002614/1.034, allocations: 0 / 1.018 GB, free: 5.266 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 (1): * Single equations (assignments): 1 * 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.0001575/1.034, allocations: 99.25 kB / 1.018 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.738e-05/1.034, allocations: 11.94 kB / 1.018 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.034, allocations: 0 / 1.018 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.672e-06/1.034, allocations: 0 / 1.018 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/1.034, allocations: 3.906 kB / 1.018 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001897/1.035, allocations: 55.03 kB / 1.018 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/1.035, allocations: 0.6802 MB / 1.019 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/1.035, allocations: 0 / 1.019 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of Templates: time 0.002278/1.037, allocations: 176.3 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB