Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") [: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 8.0.0/package.mo): time 2.1/2.1, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001627, allocations: 187.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 0.6188 GB, free: 12.4 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 82.25 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.157e-05/1.159e-05, allocations: 4 kB / 0.8503 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5829/0.5829, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2216/0.8045, allocations: 136.6 MB / 1.096 GB, free: 4.223 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.8048, allocations: 64.8 kB / 1.096 GB, free: 4.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003145/0.808, allocations: 0.5087 MB / 1.097 GB, free: 3.688 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.808, allocations: 0.5 kB / 1.097 GB, free: 3.688 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005842/0.8086, allocations: 363.4 kB / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8087, allocations: 12.56 kB / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.8087, allocations: 5.266 kB / 1.097 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.8089, allocations: 167 kB / 1.097 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.8089, allocations: 0.5938 kB / 1.097 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.8089, allocations: 0 / 1.097 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001234/0.809, allocations: 20.53 kB / 1.097 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.8092, allocations: 47.75 kB / 1.097 GB, free: 3.004 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.8092, allocations: 0 / 1.097 GB, free: 3.004 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.8092, allocations: 4 kB / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.8092, allocations: 0 / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.8099, allocations: 293.3 kB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/0.81, allocations: 26.58 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.8101, allocations: 21.64 kB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.8101, allocations: 9.719 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.8102, allocations: 36.06 kB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.8102, allocations: 0 / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002067/0.8104, allocations: 54.55 kB / 1.098 GB, free: 2.512 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.8104, allocations: 51.41 kB / 1.098 GB, free: 2.449 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.8105, allocations: 101 kB / 1.098 GB, free: 2.344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.8106, allocations: 25.7 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.8106, allocations: 80.14 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.8107, allocations: 15.81 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.8107, allocations: 4 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.8108, allocations: 314.8 kB / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.111e-05/0.8109, allocations: 8 kB / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.701e-05/0.8109, allocations: 8 kB / 1.098 GB, free: 1.879 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.811, allocations: 8 kB / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.811, allocations: 0 / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001361/0.8111, allocations: 57.53 kB / 1.098 GB, free: 1.809 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.8112, allocations: 4 kB / 1.098 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8112, allocations: 4 kB / 1.098 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.8112, allocations: 5.109 kB / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.8114, allocations: 23.98 kB / 1.098 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.8115, allocations: 0 / 1.098 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.8116, allocations: 23.97 kB / 1.098 GB, free: 1.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.8117, allocations: 0 / 1.098 GB, free: 1.75 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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 7.798e-05/0.8118, allocations: 105.8 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.8118, allocations: 7.906 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.812, allocations: 61.69 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.812, allocations: 3.938 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.812, allocations: 0 / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.812, allocations: 7.984 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.8122, allocations: 142.1 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8122, allocations: 2.766 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.8124, allocations: 27.98 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.8125, allocations: 0 / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.8125, allocations: 0 / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8125, allocations: 0 / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8125, allocations: 0 / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001732/0.8127, allocations: 148.1 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.8127, allocations: 81.02 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.8128, allocations: 3.984 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.813, allocations: 23.98 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.8131, allocations: 4.656 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.8131, allocations: 0 / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.691e-05/0.8132, allocations: 90.94 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002889/0.8135, allocations: 11.94 kB / 1.099 GB, free: 0.9609 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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.0001398/0.8136, allocations: 99.19 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.8137, allocations: 24.89 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8138, allocations: 0 / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.8138, allocations: 13.31 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.8141, allocations: 16.98 kB / 1.099 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.8144, allocations: 72.53 kB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.8147, allocations: 0.6993 MB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/0.8147, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.003202/0.818, allocations: 0.5997 MB / 1.101 GB, free: 15.42 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)