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.Modulo.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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") [: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.165/2.165, 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.001597/0.001597, allocations: 185.3 kB / 360.4 MB, free: 7.516 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.624/1.624, allocations: 205.1 MB / 0.6188 GB, free: 12.44 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.001238/0.001238, allocations: 92.83 kB / 0.7318 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 1.218e-05/1.229e-05, allocations: 4 kB / 0.8503 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2439, allocations: 115.2 MB / 0.9628 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5468/0.7908, allocations: 136.5 MB / 1.096 GB, free: 74.96 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.7911, allocations: 67.95 kB / 1.096 GB, free: 74.89 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.005555/0.7967, allocations: 1.096 MB / 1.097 GB, free: 73.85 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.7967, allocations: 0 / 1.097 GB, free: 73.85 MB / 0.7605 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.0005095/0.7972, allocations: 369.2 kB / 1.098 GB, free: 73.45 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.7973, allocations: 14.75 kB / 1.098 GB, free: 73.44 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.7973, allocations: 3.906 kB / 1.098 GB, free: 73.43 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.7974, allocations: 178.8 kB / 1.098 GB, free: 73.22 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.7975, allocations: 2.109 kB / 1.098 GB, free: 73.22 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.7975, allocations: 0 / 1.098 GB, free: 73.22 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001069/0.7976, allocations: 20 kB / 1.098 GB, free: 73.2 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.7977, allocations: 45 kB / 1.098 GB, free: 73.15 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.7977, allocations: 0 / 1.098 GB, free: 73.15 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.7978, allocations: 0 / 1.098 GB, free: 73.15 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.7978, allocations: 0 / 1.098 GB, free: 73.15 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.7984, allocations: 285.9 kB / 1.098 GB, free: 72.84 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 7.669e-05/0.7985, allocations: 30.52 kB / 1.098 GB, free: 72.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.7985, allocations: 17.45 kB / 1.098 GB, free: 72.78 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.7986, allocations: 0.625 kB / 1.098 GB, free: 72.78 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.7986, allocations: 31.56 kB / 1.098 GB, free: 72.74 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.7986, allocations: 0 / 1.098 GB, free: 72.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=3): time 0.0001938/0.7988, allocations: 58.25 kB / 1.098 GB, free: 72.68 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.7988, allocations: 52.19 kB / 1.098 GB, free: 72.62 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.7989, allocations: 100.1 kB / 1.098 GB, free: 72.52 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.7989, allocations: 25.7 kB / 1.098 GB, free: 72.48 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.799, allocations: 85.38 kB / 1.099 GB, free: 72.4 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.799, allocations: 15.75 kB / 1.099 GB, free: 72.38 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.799, allocations: 7.938 kB / 1.099 GB, free: 72.38 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.7991, allocations: 311.8 kB / 1.099 GB, free: 72.06 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.756e-05/0.7991, allocations: 9.844 kB / 1.099 GB, free: 72.05 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.277e-05/0.7992, allocations: 8 kB / 1.099 GB, free: 72.05 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.7992, allocations: 13.34 kB / 1.099 GB, free: 72.04 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7992, allocations: 0 / 1.099 GB, free: 72.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001165/0.7994, allocations: 50.27 kB / 1.099 GB, free: 71.98 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.7994, allocations: 5.344 kB / 1.099 GB, free: 71.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.7994, allocations: 3.875 kB / 1.099 GB, free: 71.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.7994, allocations: 0 / 1.099 GB, free: 71.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.7997, allocations: 30.81 kB / 1.099 GB, free: 71.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.7997, allocations: 0 / 1.099 GB, free: 71.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.7999, allocations: 23.23 kB / 1.099 GB, free: 71.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.7999, allocations: 2.438 kB / 1.099 GB, free: 71.93 MB / 0.7605 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 5.428e-05/0.8, allocations: 102 kB / 1.099 GB, free: 71.82 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.8, allocations: 14.66 kB / 1.099 GB, free: 71.81 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.8001, allocations: 7.938 kB / 1.099 GB, free: 71.8 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8001, allocations: 3.984 kB / 1.099 GB, free: 71.8 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8001, allocations: 4 kB / 1.099 GB, free: 71.8 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.8001, allocations: 0.75 kB / 1.099 GB, free: 71.8 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.8002, allocations: 142.1 kB / 1.099 GB, free: 71.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8003, allocations: 0 / 1.099 GB, free: 71.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.8005, allocations: 31.39 kB / 1.099 GB, free: 71.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.8005, allocations: 0 / 1.099 GB, free: 71.59 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.8005, allocations: 0 / 1.099 GB, free: 71.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.8005, allocations: 2.5 kB / 1.099 GB, free: 71.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8005, allocations: 0 / 1.099 GB, free: 71.59 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001351/0.8007, allocations: 151 kB / 1.099 GB, free: 71.43 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.8007, allocations: 85 kB / 1.1 GB, free: 71.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.8007, allocations: 0 / 1.1 GB, free: 71.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.8009, allocations: 23.83 kB / 1.1 GB, free: 71.31 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.801, allocations: 0 / 1.1 GB, free: 71.31 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.801, allocations: 0 / 1.1 GB, free: 71.31 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.37e-05/0.8011, allocations: 95.25 kB / 1.1 GB, free: 71.22 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002882/0.8014, allocations: 5.031 kB / 1.1 GB, free: 71.21 MB / 0.7605 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.0001184/0.8015, allocations: 105.8 kB / 1.1 GB, free: 71.11 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.8016, allocations: 22.5 kB / 1.1 GB, free: 71.09 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8016, allocations: 0 / 1.1 GB, free: 71.09 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.231e-05/0.8017, allocations: 12 kB / 1.1 GB, free: 71.07 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.8019, allocations: 9.203 kB / 1.1 GB, free: 71.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.8022, allocations: 71.56 kB / 1.1 GB, free: 70.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.8024, allocations: 0.6962 MB / 1.101 GB, free: 70.26 MB / 0.7605 GB Notification: Performance of SimCode: time 1.392e-06/0.8024, allocations: 0.75 kB / 1.101 GB, free: 70.26 MB / 0.7605 GB Notification: Performance of Templates: time 0.003143/0.8056, allocations: 0.6402 MB / 1.101 GB, free: 69.68 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)