Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [: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 10.0.0-master/package.mo): time 1.809/1.809, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000953/0.0009532, allocations: 173.4 kB / 490.8 MB, free: 1.961 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.148/1.148, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008589/0.0008589, allocations: 90.98 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4209/0.4217, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.6016, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5099/1.111, allocations: 153.7 MB / 1.362 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/1.112, allocations: 75.88 kB / 1.362 GB, free: 17.43 MB / 0.823 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.0178/1.129, allocations: 7.301 MB / 1.369 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/1.13, allocations: 13.33 kB / 1.369 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/1.13, allocations: 24.22 kB / 1.369 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/1.13, allocations: 307.3 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/1.13, allocations: 4.047 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/1.13, allocations: 7.281 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001303/1.13, allocations: 57.91 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/1.13, allocations: 93.36 kB / 1.369 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/1.13, allocations: 4 kB / 1.369 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/1.13, allocations: 3.984 kB / 1.369 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.13, allocations: 6.281 kB / 1.369 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/1.131, allocations: 438.7 kB / 1.37 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/1.131, allocations: 100.9 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.624e-05/1.131, allocations: 40.31 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/1.131, allocations: 1.125 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/1.131, allocations: 113.2 kB / 1.37 GB, free: 32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/1.131, allocations: 0 / 1.37 GB, free: 32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002769/1.132, allocations: 135.8 kB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/1.132, allocations: 54.88 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/1.132, allocations: 290.9 kB / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/1.132, allocations: 28.78 kB / 1.371 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/1.132, allocations: 118.1 kB / 1.371 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/1.132, allocations: 39.66 kB / 1.371 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/1.132, allocations: 4 kB / 1.371 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.132, allocations: 336.1 kB / 1.371 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/1.133, allocations: 71.22 kB / 1.371 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/1.133, allocations: 125.5 kB / 1.371 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/1.133, allocations: 92.72 kB / 1.371 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.133, allocations: 0 / 1.371 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004431/1.133, allocations: 265 kB / 1.372 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.133, allocations: 5.031 kB / 1.372 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.133, allocations: 1.188 kB / 1.372 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.133, allocations: 3.109 kB / 1.372 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/1.134, allocations: 49.8 kB / 1.372 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.134, allocations: 7.328 kB / 1.372 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/1.134, allocations: 26 kB / 1.372 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/1.134, allocations: 13.58 kB / 1.372 GB, free: 31.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 ($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 (30): * Single equations (assignments): 30 * 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.696e-05/1.134, allocations: 119.5 kB / 1.372 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/1.134, allocations: 23 kB / 1.372 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/1.134, allocations: 146.4 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.134, allocations: 1.609 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/1.134, allocations: 3.906 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.134, allocations: 2.375 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/1.135, allocations: 498.1 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.135, allocations: 0 / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/1.135, allocations: 18.91 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.135, allocations: 2.234 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/1.135, allocations: 5.891 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.135, allocations: 1.031 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.135, allocations: 0 / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002498/1.135, allocations: 244 kB / 1.373 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004002/1.136, allocations: 0.6198 MB / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/1.136, allocations: 104.4 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/1.136, allocations: 6.891 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/1.136, allocations: 21.02 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/1.136, allocations: 16.06 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/1.136, allocations: 6.531 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001746/1.136, allocations: 202.8 kB / 1.374 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008663/1.137, allocations: 68.23 kB / 1.374 GB, free: 29.86 MB / 0.8386 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.0005907/1.138, allocations: 321.9 kB / 1.374 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002509/1.138, allocations: 153.2 kB / 1.374 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.138, allocations: 3.938 kB / 1.374 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/1.138, allocations: 59.72 kB / 1.374 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/1.138, allocations: 37.36 kB / 1.374 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/1.139, allocations: 304.8 kB / 1.375 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/1.139, allocations: 0.7818 MB / 1.375 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.139, allocations: 0.9688 kB / 1.375 GB, free: 28.86 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)