Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.758/1.758, allocations: 390.4 MB / 397.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009167/0.0009168, allocations: 168.9 kB / 490.8 MB, free: 11.14 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.096/1.096, allocations: 221.4 MB / 0.7863 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008382/0.0008381, allocations: 89.77 kB / 0.9264 GB, free: 20.9 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 0.2272/0.2281, allocations: 149.2 MB / 1.072 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.7079, allocations: 143 MB / 1.212 GB, free: 53.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.8622, allocations: 149.3 MB / 1.358 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.8624, allocations: 67.95 kB / 1.358 GB, free: 4.449 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.06078/0.9232, allocations: 21.16 MB / 1.378 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.9233, allocations: 12 kB / 1.378 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.9234, allocations: 31.62 kB / 1.378 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.9239, allocations: 371.4 kB / 1.379 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.9239, allocations: 4 kB / 1.379 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.924, allocations: 23.98 kB / 1.379 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001695/0.9241, allocations: 111.8 kB / 1.379 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.9244, allocations: 196 kB / 1.379 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.9244, allocations: 0 / 1.379 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.9244, allocations: 4 kB / 1.379 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.9244, allocations: 0 / 1.379 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.9248, allocations: 363.5 kB / 1.379 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.9252, allocations: 323.9 kB / 1.38 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.9254, allocations: 122.5 kB / 1.38 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.9254, allocations: 4 kB / 1.38 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.9257, allocations: 229.7 kB / 1.38 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.9257, allocations: 0 / 1.38 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.0005449/0.9263, allocations: 314.9 kB / 1.38 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.9263, allocations: 110.8 kB / 1.38 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.9267, allocations: 347.5 kB / 1.381 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.9267, allocations: 29.7 kB / 1.381 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.9268, allocations: 117.6 kB / 1.381 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.9269, allocations: 35.52 kB / 1.381 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.9269, allocations: 4 kB / 1.381 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.927, allocations: 342.8 kB / 1.381 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.9271, allocations: 87.97 kB / 1.381 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.9275, allocations: 466.5 kB / 1.382 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.928, allocations: 165.6 kB / 1.382 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.928, allocations: 4 kB / 1.382 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006484/0.9286, allocations: 341.2 kB / 1.382 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.9287, allocations: 8.031 kB / 1.382 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.9287, allocations: 4 kB / 1.382 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.9287, allocations: 7.938 kB / 1.382 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.9288, allocations: 35.92 kB / 1.382 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.9288, allocations: 4 kB / 1.382 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/0.9295, allocations: 48.22 kB / 1.382 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.9295, allocations: 16 kB / 1.382 GB, free: 10.67 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001098/0.9296, allocations: 134.1 kB / 1.382 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.9297, allocations: 27.62 kB / 1.382 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.9298, allocations: 33.89 kB / 1.383 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.9298, allocations: 4 kB / 1.383 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.9298, allocations: 0 / 1.383 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9298, allocations: 4 kB / 1.383 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.93, allocations: 262 kB / 1.383 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.93, allocations: 0 / 1.383 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.93, allocations: 11.84 kB / 1.383 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.93, allocations: 4 kB / 1.383 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.9301, allocations: 7.984 kB / 1.383 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9301, allocations: 0 / 1.383 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9301, allocations: 0 / 1.383 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004693/0.9306, allocations: 364.8 kB / 1.383 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000548/0.9311, allocations: 0.7415 MB / 1.384 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.9312, allocations: 108.7 kB / 1.384 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.9313, allocations: 4 kB / 1.384 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.9314, allocations: 7.984 kB / 1.384 GB, free: 8.84 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.9314, allocations: 15.98 kB / 1.384 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.9314, allocations: 12 kB / 1.384 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002465/0.9317, allocations: 279 kB / 1.384 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009163/0.9326, allocations: 79.84 kB / 1.384 GB, free: 8.461 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001956/0.9328, allocations: 153.1 kB / 1.385 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.9332, allocations: 240 kB / 1.385 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9332, allocations: 0 / 1.385 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.9333, allocations: 140.7 kB / 1.385 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.9335, allocations: 28.64 kB / 1.385 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006781/0.9342, allocations: 454.5 kB / 1.385 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.9346, allocations: 0.8021 MB / 1.386 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.9346, allocations: 0 / 1.386 GB, free: 6.605 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)