Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.344/1.344, allocations: 289.8 MB / 297.1 MB, free: 6.582 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009054/0.0009054, allocations: 173.3 kB / 366.3 MB, free: 1.91 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.035/1.035, allocations: 205.1 MB / 0.6256 GB, free: 5.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007896/0.0007896, allocations: 90.2 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.933e-06, allocations: 0 / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4545, allocations: 116.3 MB / 0.9726 GB, free: 68.42 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.6009, allocations: 142.1 MB / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.6011, allocations: 84.86 kB / 1.111 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01753/0.6186, allocations: 6.624 MB / 1.118 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.6187, allocations: 8 kB / 1.118 GB, free: 15.6 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005959/0.6193, allocations: 498.6 kB / 1.118 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.6193, allocations: 8.688 kB / 1.118 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.6194, allocations: 31.56 kB / 1.118 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.6198, allocations: 298.2 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.6199, allocations: 4 kB / 1.119 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.6199, allocations: 8 kB / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001323/0.62, allocations: 60.34 kB / 1.119 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.6202, allocations: 94.91 kB / 1.119 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.6202, allocations: 4.562 kB / 1.119 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.6202, allocations: 3.984 kB / 1.119 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.6202, allocations: 0 / 1.119 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.6209, allocations: 441.6 kB / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.621, allocations: 102.6 kB / 1.119 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.211e-05/0.6211, allocations: 45.55 kB / 1.119 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.6212, allocations: 4.203 kB / 1.119 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.6213, allocations: 103.3 kB / 1.12 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.6213, allocations: 4 kB / 1.12 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0002677/0.6216, allocations: 141.2 kB / 1.12 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.6216, allocations: 55.41 kB / 1.12 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.6219, allocations: 293 kB / 1.12 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.6219, allocations: 25.7 kB / 1.12 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.622, allocations: 117 kB / 1.12 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.622, allocations: 31.53 kB / 1.12 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.6221, allocations: 0 / 1.12 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6222, allocations: 342.8 kB / 1.121 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.6223, allocations: 75.97 kB / 1.121 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.6225, allocations: 122.2 kB / 1.121 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.6227, allocations: 100.6 kB / 1.121 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6227, allocations: 4 kB / 1.121 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004434/0.6231, allocations: 261.5 kB / 1.121 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.6232, allocations: 8 kB / 1.121 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6232, allocations: 0 / 1.121 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.6232, allocations: 4.188 kB / 1.121 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.6234, allocations: 51.88 kB / 1.121 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.6234, allocations: 7.938 kB / 1.121 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.6236, allocations: 25.33 kB / 1.121 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.6236, allocations: 16 kB / 1.121 GB, free: 12.06 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.305e-05/0.6237, allocations: 129.2 kB / 1.121 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.6238, allocations: 19.72 kB / 1.121 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.624, allocations: 150.8 kB / 1.121 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6241, allocations: 4 kB / 1.121 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6241, allocations: 0 / 1.121 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6241, allocations: 3.984 kB / 1.121 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.6246, allocations: 486.7 kB / 1.122 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6246, allocations: 3.938 kB / 1.122 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.6247, allocations: 23.98 kB / 1.122 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6247, allocations: 0 / 1.122 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.6248, allocations: 11.98 kB / 1.122 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6248, allocations: 0 / 1.122 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.6248, allocations: 3.906 kB / 1.122 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002371/0.625, allocations: 245.7 kB / 1.122 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.6251, allocations: 104.8 kB / 1.122 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.6251, allocations: 3.984 kB / 1.122 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.6253, allocations: 19.98 kB / 1.122 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.6254, allocations: 19.97 kB / 1.122 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.6254, allocations: 4 kB / 1.122 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001772/0.6256, allocations: 197.2 kB / 1.123 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003015/0.6259, allocations: 55.92 kB / 1.123 GB, free: 10.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005937/0.6265, allocations: 342.7 kB / 1.123 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.6267, allocations: 151.8 kB / 1.123 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.6268, allocations: 0 / 1.123 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.6268, allocations: 55.92 kB / 1.123 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.6271, allocations: 37.09 kB / 1.123 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.6277, allocations: 308.1 kB / 1.123 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.628, allocations: 0.7824 MB / 1.124 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.6281, allocations: 3.938 kB / 1.124 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of Templates: time 0.005497/0.6336, allocations: 2.803 MB / 1.127 GB, free: 6.125 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)