Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 249.4 MB / 256.7 MB, free: 0.7031 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009799/0.0009801, allocations: 180.2 kB / 316 MB, free: 8.879 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.124/1.124, allocations: 205.1 MB / 0.5667 GB, free: 13.41 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008439/0.000844, allocations: 99.27 kB / 0.671 GB, free: 51.52 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1765/0.1773, allocations: 112.5 MB / 0.7808 GB, free: 9.844 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.6076, allocations: 106.3 MB / 0.8847 GB, free: 89.12 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.7518, allocations: 134.9 MB / 1.016 GB, free: 10.68 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.7521, allocations: 84.66 kB / 1.017 GB, free: 10.6 MB / 0.6589 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.01904/0.7711, allocations: 6.944 MB / 1.023 GB, free: 3.738 MB / 0.6589 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.7712, allocations: 11.94 kB / 1.023 GB, free: 3.727 MB / 0.6589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.7712, allocations: 23.72 kB / 1.023 GB, free: 3.703 MB / 0.6589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.7716, allocations: 289.8 kB / 1.024 GB, free: 3.383 MB / 0.6589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.7717, allocations: 4 kB / 1.024 GB, free: 3.379 MB / 0.6589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.7717, allocations: 4 kB / 1.024 GB, free: 3.375 MB / 0.6589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001315/0.7718, allocations: 60.36 kB / 1.024 GB, free: 3.316 MB / 0.6589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.7721, allocations: 112.9 kB / 1.024 GB, free: 3.195 MB / 0.6589 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.7721, allocations: 1.219 kB / 1.024 GB, free: 3.195 MB / 0.6589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.7721, allocations: 7.922 kB / 1.024 GB, free: 3.188 MB / 0.6589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.7721, allocations: 7.906 kB / 1.024 GB, free: 3.18 MB / 0.6589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.7728, allocations: 0.5018 MB / 1.024 GB, free: 2.637 MB / 0.6589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.773, allocations: 106.6 kB / 1.024 GB, free: 2.523 MB / 0.6589 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.7731, allocations: 44.86 kB / 1.024 GB, free: 2.477 MB / 0.6589 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.7731, allocations: 0.8906 kB / 1.024 GB, free: 2.477 MB / 0.6589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.7733, allocations: 102.5 kB / 1.025 GB, free: 2.367 MB / 0.6589 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.7733, allocations: 0 / 1.025 GB, free: 2.367 MB / 0.6589 GB Notification: Performance of matching and sorting (n=16): time 0.0002582/0.7735, allocations: 140.6 kB / 1.025 GB, free: 2.227 MB / 0.6589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.7736, allocations: 59.61 kB / 1.025 GB, free: 2.156 MB / 0.6589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.7739, allocations: 292.9 kB / 1.025 GB, free: 1.863 MB / 0.6589 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.7739, allocations: 25.7 kB / 1.025 GB, free: 1.832 MB / 0.6589 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.774, allocations: 126.6 kB / 1.025 GB, free: 1.707 MB / 0.6589 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.774, allocations: 31.61 kB / 1.025 GB, free: 1.676 MB / 0.6589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.774, allocations: 0 / 1.025 GB, free: 1.676 MB / 0.6589 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7741, allocations: 342.7 kB / 1.026 GB, free: 1.332 MB / 0.6589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.7743, allocations: 75.98 kB / 1.026 GB, free: 1.258 MB / 0.6589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.7744, allocations: 130.7 kB / 1.026 GB, free: 1.109 MB / 0.6589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.7745, allocations: 83.52 kB / 1.026 GB, free: 1.031 MB / 0.6589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7746, allocations: 3.938 kB / 1.026 GB, free: 1.027 MB / 0.6589 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003776/0.7749, allocations: 253.2 kB / 1.026 GB, free: 0.7734 MB / 0.6589 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.775, allocations: 4 kB / 1.026 GB, free: 0.7695 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.775, allocations: 4 kB / 1.026 GB, free: 0.7656 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.775, allocations: 4 kB / 1.026 GB, free: 0.7617 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.7752, allocations: 47.91 kB / 1.026 GB, free: 0.7148 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.7752, allocations: 7.938 kB / 1.026 GB, free: 0.707 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.7754, allocations: 32.02 kB / 1.026 GB, free: 0.6758 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.7754, allocations: 12 kB / 1.026 GB, free: 0.6641 MB / 0.6589 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($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,cha.u_start) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.742e-05/0.7755, allocations: 119.6 kB / 1.026 GB, free: 0.5391 MB / 0.6589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.7756, allocations: 23.62 kB / 1.026 GB, free: 0.5156 MB / 0.6589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.7758, allocations: 154.9 kB / 1.026 GB, free: 372 kB / 0.6589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7759, allocations: 4 kB / 1.026 GB, free: 368 kB / 0.6589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.7759, allocations: 0 / 1.026 GB, free: 368 kB / 0.6589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.7759, allocations: 7.891 kB / 1.026 GB, free: 360 kB / 0.6589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.7765, allocations: 487.7 kB / 1.027 GB, free: 15.83 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7765, allocations: 3.938 kB / 1.027 GB, free: 15.83 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.7766, allocations: 25.02 kB / 1.027 GB, free: 15.8 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.7766, allocations: 0 / 1.027 GB, free: 15.8 MB / 0.6746 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.7766, allocations: 0 / 1.027 GB, free: 15.8 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.7766, allocations: 4 kB / 1.027 GB, free: 15.8 MB / 0.6746 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7766, allocations: 0 / 1.027 GB, free: 15.8 MB / 0.6746 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002423/0.7769, allocations: 248.6 kB / 1.027 GB, free: 15.54 MB / 0.6746 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003598/0.7773, allocations: 0.6156 MB / 1.028 GB, free: 14.91 MB / 0.6746 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.7773, allocations: 100.9 kB / 1.028 GB, free: 14.79 MB / 0.6746 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.7774, allocations: 10.41 kB / 1.028 GB, free: 14.79 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.7776, allocations: 19.98 kB / 1.028 GB, free: 14.77 MB / 0.6746 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.7776, allocations: 15.97 kB / 1.028 GB, free: 14.75 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.7776, allocations: 11.38 kB / 1.028 GB, free: 14.74 MB / 0.6746 GB Notification: Performance of sort global known variables: time 0.0001666/0.7778, allocations: 196.5 kB / 1.028 GB, free: 14.55 MB / 0.6746 GB Notification: Performance of remove unused functions: time 0.0008475/0.7787, allocations: 51.94 kB / 1.028 GB, free: 14.5 MB / 0.6746 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.0005825/0.7793, allocations: 324.9 kB / 1.028 GB, free: 14.32 MB / 0.6746 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.7795, allocations: 158.8 kB / 1.029 GB, free: 14.16 MB / 0.6746 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.7795, allocations: 0 / 1.029 GB, free: 14.16 MB / 0.6746 GB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.7796, allocations: 55.98 kB / 1.029 GB, free: 14.11 MB / 0.6746 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.7799, allocations: 43.16 kB / 1.029 GB, free: 14.07 MB / 0.6746 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.7805, allocations: 303 kB / 1.029 GB, free: 13.76 MB / 0.6746 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.7809, allocations: 0.7824 MB / 1.03 GB, free: 12.95 MB / 0.6746 GB Notification: Performance of SimCode: time 2.71e-07/0.7809, allocations: 0 / 1.03 GB, free: 12.95 MB / 0.6746 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)