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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.359/1.359, allocations: 289.8 MB / 297.1 MB, free: 6.738 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.0009582/0.0009584, allocations: 173.3 kB / 366.3 MB, free: 2.023 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.079/1.079, allocations: 205.2 MB / 0.6256 GB, free: 7.508 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.0008928/0.0008929, allocations: 87.72 kB / 0.7395 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2026/0.2035, allocations: 122.4 MB / 0.8591 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.6635, allocations: 116.3 MB / 0.9727 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.8053, allocations: 142.1 MB / 1.111 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.8055, allocations: 80.89 kB / 1.112 GB, free: 8.293 MB / 0.7136 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.01786/0.8234, allocations: 7.131 MB / 1.119 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8234, allocations: 8 kB / 1.119 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.541e-05/0.8235, allocations: 27.62 kB / 1.119 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.824, allocations: 294.2 kB / 1.119 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.824, allocations: 8 kB / 1.119 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.8241, allocations: 8 kB / 1.119 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001433/0.8242, allocations: 64.28 kB / 1.119 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.8244, allocations: 90.97 kB / 1.119 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.8244, allocations: 4 kB / 1.119 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.8244, allocations: 0 / 1.119 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.8245, allocations: 0 / 1.119 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007011/0.8252, allocations: 442.9 kB / 1.119 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.8254, allocations: 106.7 kB / 1.12 GB, free: 64 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.8254, allocations: 42.52 kB / 1.12 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.8255, allocations: 0 / 1.12 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.8256, allocations: 107.5 kB / 1.12 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 3.246e-06/0.8256, allocations: 0 / 1.12 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0002728/0.8259, allocations: 137.3 kB / 1.12 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.826, allocations: 64.33 kB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.8262, allocations: 285 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.8263, allocations: 33.69 kB / 1.12 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.8263, allocations: 112.5 kB / 1.12 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.8264, allocations: 35.52 kB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.8264, allocations: 0 / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8265, allocations: 334.8 kB / 1.121 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.8266, allocations: 75.98 kB / 1.121 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.8268, allocations: 126.2 kB / 1.121 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.827, allocations: 99.61 kB / 1.121 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.8271, allocations: 5.125 kB / 1.121 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005044/0.8276, allocations: 261.5 kB / 1.121 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.8276, allocations: 8 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8276, allocations: 0 / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.8276, allocations: 7.984 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.8279, allocations: 52.02 kB / 1.121 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.8279, allocations: 7.984 kB / 1.121 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.8281, allocations: 23.92 kB / 1.121 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.8281, allocations: 8 kB / 1.121 GB, free: 14.2 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 0.0001077/0.8282, allocations: 128.3 kB / 1.121 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.8283, allocations: 19.72 kB / 1.121 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.8286, allocations: 152.5 kB / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8286, allocations: 4.938 kB / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.8286, allocations: 0 / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.8286, allocations: 0 / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.8291, allocations: 497.5 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8291, allocations: 0 / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.8293, allocations: 23.98 kB / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8293, allocations: 3.938 kB / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.8293, allocations: 4 kB / 1.122 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8293, allocations: 3.938 kB / 1.122 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8293, allocations: 3.906 kB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002465/0.8296, allocations: 248.1 kB / 1.122 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003383/0.8299, allocations: 0.6095 MB / 1.123 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.83, allocations: 112.8 kB / 1.123 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.83, allocations: 2.312 kB / 1.123 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.8302, allocations: 19.98 kB / 1.123 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.8303, allocations: 19.97 kB / 1.123 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.8303, allocations: 4 kB / 1.123 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001847/0.8305, allocations: 205.2 kB / 1.123 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009232/0.8314, allocations: 63.84 kB / 1.123 GB, free: 12 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.0006105/0.832, allocations: 323.4 kB / 1.124 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.8323, allocations: 151.9 kB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.8323, allocations: 0 / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.8324, allocations: 63.91 kB / 1.124 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.8327, allocations: 40.75 kB / 1.124 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/0.8333, allocations: 296.6 kB / 1.124 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.8337, allocations: 0.7882 MB / 1.125 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.8337, allocations: 0 / 1.125 GB, free: 10.43 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)