Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.846/1.846, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.00101/0.00101, allocations: 185.2 kB / 487 MB, free: 5.383 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.189/1.189, allocations: 221.3 MB / 0.7819 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008823/0.0008823, allocations: 89.64 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4155/0.4164, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.5993, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5223/1.122, allocations: 152.9 MB / 1.355 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/1.122, allocations: 80.19 kB / 1.355 GB, free: 16.18 MB / 0.8073 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.019/1.141, allocations: 7.297 MB / 1.362 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/1.141, allocations: 9 kB / 1.362 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/1.141, allocations: 28.33 kB / 1.362 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/1.141, allocations: 294.3 kB / 1.362 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/1.141, allocations: 4.656 kB / 1.362 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/1.142, allocations: 11.94 kB / 1.362 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001254/1.142, allocations: 64.44 kB / 1.362 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/1.142, allocations: 97.7 kB / 1.362 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/1.142, allocations: 0 / 1.362 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/1.142, allocations: 0.5156 kB / 1.362 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.142, allocations: 4.562 kB / 1.362 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/1.142, allocations: 434.7 kB / 1.363 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/1.143, allocations: 103.3 kB / 1.363 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/1.143, allocations: 40.22 kB / 1.363 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/1.143, allocations: 11.91 kB / 1.363 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/1.143, allocations: 102.7 kB / 1.363 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/1.143, allocations: 0 / 1.363 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002402/1.143, allocations: 133.3 kB / 1.363 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/1.143, allocations: 56.06 kB / 1.363 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/1.143, allocations: 293 kB / 1.363 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/1.143, allocations: 29.7 kB / 1.363 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/1.143, allocations: 120.7 kB / 1.364 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/1.144, allocations: 37.16 kB / 1.364 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/1.144, allocations: 0 / 1.364 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/1.144, allocations: 330.2 kB / 1.364 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.144, allocations: 82.78 kB / 1.364 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/1.144, allocations: 118.9 kB / 1.364 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/1.144, allocations: 96.72 kB / 1.364 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.144, allocations: 0 / 1.364 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003904/1.144, allocations: 256.2 kB / 1.364 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/1.144, allocations: 4.156 kB / 1.364 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.144, allocations: 8 kB / 1.364 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/1.144, allocations: 0 / 1.364 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/1.145, allocations: 51.22 kB / 1.364 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.145, allocations: 7.891 kB / 1.364 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/1.145, allocations: 31.86 kB / 1.365 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/1.145, allocations: 10.5 kB / 1.365 GB, free: 12.06 MB / 0.8073 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 6.551e-05/1.145, allocations: 118.8 kB / 1.365 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/1.145, allocations: 19.72 kB / 1.365 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/1.145, allocations: 159.2 kB / 1.365 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.145, allocations: 4 kB / 1.365 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.145, allocations: 4 kB / 1.365 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.145, allocations: 0 / 1.365 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/1.146, allocations: 490.7 kB / 1.365 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.146, allocations: 0 / 1.365 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/1.146, allocations: 27.98 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.146, allocations: 0 / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/1.146, allocations: 11.38 kB / 1.365 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.146, allocations: 0 / 1.365 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.146, allocations: 0 / 1.365 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001939/1.146, allocations: 258.5 kB / 1.366 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000218/1.146, allocations: 0.6091 MB / 1.366 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/1.146, allocations: 104.8 kB / 1.366 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/1.146, allocations: 3.25 kB / 1.366 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/1.147, allocations: 15.98 kB / 1.366 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/1.147, allocations: 23.91 kB / 1.366 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/1.147, allocations: 4 kB / 1.366 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001354/1.147, allocations: 199.9 kB / 1.367 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008474/1.148, allocations: 66.91 kB / 1.367 GB, free: 10.08 MB / 0.8073 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.0005501/1.148, allocations: 326.4 kB / 1.367 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002131/1.148, allocations: 145.9 kB / 1.367 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/1.148, allocations: 0 / 1.367 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/1.149, allocations: 61.67 kB / 1.367 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/1.149, allocations: 49.41 kB / 1.367 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/1.149, allocations: 297.2 kB / 1.367 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/1.15, allocations: 0.7848 MB / 1.368 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of SimCode: time 2.91e-07/1.15, allocations: 0 / 1.368 GB, free: 8.586 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)