Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",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.83/1.83, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009634/0.0009634, allocations: 181.2 kB / 490.8 MB, free: 1.918 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.137/1.137, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.0008456/0.0008455, allocations: 103.1 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4169/0.4177, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.5977, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/1.074, allocations: 149.7 MB / 1.358 GB, free: 17.22 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/1.074, allocations: 76.94 kB / 1.358 GB, free: 17.22 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.1166/1.191, allocations: 45.67 MB / 1.403 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/1.191, allocations: 8.781 kB / 1.403 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/1.191, allocations: 53.53 kB / 1.403 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009218/1.192, allocations: 0.5315 MB / 1.403 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/1.192, allocations: 3.594 kB / 1.403 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/1.192, allocations: 37.5 kB / 1.403 GB, free: 21.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003314/1.192, allocations: 224.5 kB / 1.403 GB, free: 21.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/1.193, allocations: 296.4 kB / 1.404 GB, free: 21.63 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.193, allocations: 0 / 1.404 GB, free: 21.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/1.193, allocations: 4.219 kB / 1.404 GB, free: 21.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.193, allocations: 7.375 kB / 1.404 GB, free: 21.63 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/1.194, allocations: 1.122 MB / 1.405 GB, free: 20.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/1.195, allocations: 473.6 kB / 1.405 GB, free: 20.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/1.195, allocations: 184.9 kB / 1.405 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/1.195, allocations: 8 kB / 1.405 GB, free: 20.49 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/1.195, allocations: 269.5 kB / 1.406 GB, free: 20.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.552e-06/1.195, allocations: 0 / 1.406 GB, free: 20.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0006076/1.196, allocations: 398.5 kB / 1.406 GB, free: 19.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/1.196, allocations: 114.4 kB / 1.406 GB, free: 19.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/1.197, allocations: 0.5222 MB / 1.407 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.372e-05/1.197, allocations: 37.58 kB / 1.407 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/1.197, allocations: 145.3 kB / 1.407 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/1.197, allocations: 47.03 kB / 1.407 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/1.197, allocations: 4 kB / 1.407 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.197, allocations: 360.2 kB / 1.407 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/1.197, allocations: 133.1 kB / 1.407 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/1.198, allocations: 0.6862 MB / 1.408 GB, free: 17.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/1.198, allocations: 216.8 kB / 1.408 GB, free: 17.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.198, allocations: 0 / 1.408 GB, free: 17.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007035/1.199, allocations: 424.9 kB / 1.409 GB, free: 17.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/1.199, allocations: 8.062 kB / 1.409 GB, free: 17.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.199, allocations: 7.984 kB / 1.409 GB, free: 17.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/1.199, allocations: 8 kB / 1.409 GB, free: 17.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/1.199, allocations: 35.48 kB / 1.409 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.199, allocations: 12.17 kB / 1.409 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.2, allocations: 88.31 kB / 1.409 GB, free: 17.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/1.2, allocations: 15.44 kB / 1.409 GB, free: 17.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001382/1.2, allocations: 148.5 kB / 1.409 GB, free: 17.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/1.2, allocations: 43.44 kB / 1.409 GB, free: 17.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.792e-05/1.2, allocations: 47.8 kB / 1.409 GB, free: 17.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.2, allocations: 4 kB / 1.409 GB, free: 17.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/1.2, allocations: 4 kB / 1.409 GB, free: 17.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.2, allocations: 3.906 kB / 1.409 GB, free: 17.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/1.201, allocations: 367.9 kB / 1.409 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.201, allocations: 4 kB / 1.409 GB, free: 16.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/1.201, allocations: 15.92 kB / 1.409 GB, free: 16.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.201, allocations: 0 / 1.409 GB, free: 16.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/1.201, allocations: 4 kB / 1.409 GB, free: 16.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.201, allocations: 7.984 kB / 1.409 GB, free: 16.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.201, allocations: 3.906 kB / 1.409 GB, free: 16.69 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004555/1.201, allocations: 451.5 kB / 1.41 GB, free: 16.3 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005396/1.202, allocations: 0.8131 MB / 1.411 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/1.202, allocations: 142.4 kB / 1.411 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/1.202, allocations: 7.062 kB / 1.411 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/1.202, allocations: 19.97 kB / 1.411 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/1.202, allocations: 26.41 kB / 1.411 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/1.202, allocations: 19.48 kB / 1.411 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003484/1.203, allocations: 409.1 kB / 1.411 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00101/1.204, allocations: 107.6 kB / 1.411 GB, free: 14.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002134/1.204, allocations: 152.5 kB / 1.411 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004379/1.204, allocations: 344.3 kB / 1.412 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.204, allocations: 0 / 1.412 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/1.205, allocations: 190.9 kB / 1.412 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/1.205, allocations: 33.75 kB / 1.412 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/1.206, allocations: 0.6721 MB / 1.413 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005088/1.206, allocations: 0.883 MB / 1.414 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.206, allocations: 3.938 kB / 1.414 GB, free: 12.88 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)