Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") [: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.328/2.328, allocations: 284.9 MB / 292.2 MB, free: 10.69 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.001615/0.001615, allocations: 177.3 kB / 360.4 MB, free: 7.508 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.882/1.882, allocations: 205.2 MB / 0.6188 GB, free: 12.41 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.001297/0.001297, allocations: 84.56 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.524e-06, allocations: 0 / 0.8502 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.586/0.586, allocations: 115.2 MB / 0.9628 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/0.8349, allocations: 137.2 MB / 1.097 GB, free: 3.551 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/0.8353, allocations: 72.66 kB / 1.097 GB, free: 3.48 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd: time 0.01193/0.8473, allocations: 1.833 MB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.8473, allocations: 0 / 1.099 GB, free: 1.672 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000542/0.8479, allocations: 379.8 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.848, allocations: 8.031 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.848, allocations: 4.938 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.8482, allocations: 171 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.8482, allocations: 0 / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.8483, allocations: 4 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.525e-05/0.8483, allocations: 4 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.8485, allocations: 37.59 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.8485, allocations: 2.031 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.8485, allocations: 3.984 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.8485, allocations: 4 kB / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.8487, allocations: 130.3 kB / 1.099 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.8489, allocations: 27.23 kB / 1.099 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.8489, allocations: 14.36 kB / 1.099 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.849, allocations: 7.312 kB / 1.099 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.8491, allocations: 47.5 kB / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.164e-06/0.8491, allocations: 0 / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002178/0.8493, allocations: 45.59 kB / 1.099 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.8494, allocations: 59.41 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.8495, allocations: 93.86 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.8496, allocations: 27.67 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.8496, allocations: 85.23 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.8497, allocations: 7.906 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.8497, allocations: 0.6875 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.8499, allocations: 322.3 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.455e-05/0.8499, allocations: 11.94 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.838e-05/0.85, allocations: 28.75 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.895e-05/0.8501, allocations: 9.812 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8501, allocations: 3.938 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001988/0.8503, allocations: 62.11 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.8503, allocations: 5.719 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.8503, allocations: 4 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8504, allocations: 1.312 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.8505, allocations: 8 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.8505, allocations: 7.844 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.8506, allocations: 1.844 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.8506, allocations: 4 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001107/0.8507, allocations: 114.8 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.8508, allocations: 7.906 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.8508, allocations: 8.797 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.8509, allocations: 0.5312 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.8509, allocations: 7.266 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8509, allocations: 0.5 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.8511, allocations: 134.7 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.8511, allocations: 0.9375 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.8511, allocations: 8.656 kB / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.8512, allocations: 0.5312 kB / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.8512, allocations: 0 / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8512, allocations: 1.531 kB / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8512, allocations: 0 / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001757/0.8514, allocations: 87.3 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.8515, allocations: 77.77 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.8515, allocations: 4 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.447e-05/0.8516, allocations: 0.5312 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.8516, allocations: 4.094 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.8516, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001015/0.8518, allocations: 83.27 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006413/0.8524, allocations: 43.94 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005735/0.853, allocations: 178 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.8532, allocations: 27.94 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8532, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.8533, allocations: 12 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.8534, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.8538, allocations: 60.73 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/0.8541, allocations: 0.6985 MB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.8541, allocations: 4 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.004948/0.8591, allocations: 1.218 MB / 1.103 GB, free: 13.04 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)