Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.142/2.142, allocations: 284.8 MB / 292.1 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001577, allocations: 173.4 kB / 360.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.1 MB / 0.6187 GB, free: 5.145 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001236/0.001235, allocations: 87.44 kB / 0.7317 GB, free: 53.37 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.2378/0.2391, allocations: 121.4 MB / 0.8502 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.4782, allocations: 115.3 MB / 0.9628 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5657/1.044, allocations: 141 MB / 1.1 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.044, allocations: 75.97 kB / 1.101 GB, free: 11.45 MB / 0.7012 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.02749/1.072, allocations: 7.124 MB / 1.107 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.072, allocations: 15.31 kB / 1.107 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/1.072, allocations: 27.62 kB / 1.108 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/1.072, allocations: 296.4 kB / 1.108 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/1.073, allocations: 4 kB / 1.108 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/1.073, allocations: 8 kB / 1.108 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000197/1.073, allocations: 62.34 kB / 1.108 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/1.073, allocations: 98.28 kB / 1.108 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.073, allocations: 0 / 1.108 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/1.073, allocations: 8.922 kB / 1.108 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.073, allocations: 4 kB / 1.108 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009355/1.074, allocations: 429.6 kB / 1.108 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/1.074, allocations: 106.6 kB / 1.108 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/1.074, allocations: 46.25 kB / 1.109 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/1.074, allocations: 4 kB / 1.109 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/1.075, allocations: 99.59 kB / 1.109 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=16): time 3.898e-06/1.075, allocations: 0 / 1.109 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=16): time 0.0003861/1.075, allocations: 145.2 kB / 1.109 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/1.075, allocations: 59.41 kB / 1.109 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/1.076, allocations: 289 kB / 1.109 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/1.076, allocations: 29.7 kB / 1.109 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/1.076, allocations: 108.5 kB / 1.109 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/1.076, allocations: 43.52 kB / 1.109 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/1.076, allocations: 0 / 1.109 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.714e-05/1.076, allocations: 338.8 kB / 1.11 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/1.076, allocations: 71.97 kB / 1.11 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/1.076, allocations: 126.2 kB / 1.11 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/1.077, allocations: 100.8 kB / 1.11 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.077, allocations: 0 / 1.11 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007162/1.077, allocations: 258.9 kB / 1.11 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.077, allocations: 6.438 kB / 1.11 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/1.077, allocations: 10.11 kB / 1.11 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.077, allocations: 0 / 1.11 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/1.078, allocations: 55.81 kB / 1.11 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.078, allocations: 7.938 kB / 1.11 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/1.078, allocations: 23.92 kB / 1.11 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/1.078, allocations: 12 kB / 1.11 GB, free: 1.418 MB / 0.7012 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 9.639e-05/1.078, allocations: 121.9 kB / 1.11 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/1.078, allocations: 29.44 kB / 1.11 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/1.079, allocations: 148 kB / 1.111 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.079, allocations: 0 / 1.111 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.079, allocations: 4 kB / 1.111 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.079, allocations: 3.984 kB / 1.111 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007549/1.08, allocations: 496.7 kB / 1.111 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.08, allocations: 0 / 1.111 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/1.08, allocations: 19.98 kB / 1.111 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.08, allocations: 7.938 kB / 1.111 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/1.08, allocations: 0 / 1.111 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.08, allocations: 0 / 1.111 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.08, allocations: 7.891 kB / 1.111 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003158/1.08, allocations: 243.1 kB / 1.111 GB, free: 304 kB / 0.7012 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005273/1.081, allocations: 0.6167 MB / 1.112 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.081, allocations: 108.8 kB / 1.112 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/1.081, allocations: 4 kB / 1.112 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/1.081, allocations: 13.02 kB / 1.112 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/1.081, allocations: 23.97 kB / 1.112 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/1.081, allocations: 8 kB / 1.112 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 0.0003116/1.082, allocations: 197.2 kB / 1.112 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001308/1.083, allocations: 67.84 kB / 1.112 GB, free: 15.23 MB / 0.7169 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.0008858/1.084, allocations: 318.1 kB / 1.113 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004586/1.084, allocations: 158.6 kB / 1.113 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.084, allocations: 0 / 1.113 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/1.085, allocations: 58.5 kB / 1.113 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/1.085, allocations: 42.69 kB / 1.113 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009604/1.086, allocations: 304.6 kB / 1.113 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/1.087, allocations: 0.7874 MB / 1.114 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of SimCode: time 1.011e-06/1.087, allocations: 0 / 1.114 GB, free: 13.68 MB / 0.7169 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)