Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.839/1.839, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009722/0.0009723, allocations: 176.3 kB / 487 MB, free: 5.371 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.177/1.177, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.0008893/0.0008893, allocations: 100.7 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4282/0.4291, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.6217, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5125/1.134, allocations: 148.5 MB / 1.35 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/1.134, allocations: 70.47 kB / 1.35 GB, free: 15.83 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.05792/1.192, allocations: 21.15 MB / 1.371 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/1.192, allocations: 12.94 kB / 1.371 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.934e-05/1.193, allocations: 31.72 kB / 1.371 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/1.193, allocations: 372.8 kB / 1.372 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/1.193, allocations: 3.984 kB / 1.372 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/1.193, allocations: 19.91 kB / 1.372 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001489/1.193, allocations: 111.4 kB / 1.372 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/1.193, allocations: 195.2 kB / 1.372 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/1.194, allocations: 0 / 1.372 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/1.194, allocations: 4 kB / 1.372 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.194, allocations: 4 kB / 1.372 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/1.194, allocations: 365.3 kB / 1.372 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/1.194, allocations: 322 kB / 1.372 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/1.194, allocations: 130 kB / 1.373 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/1.194, allocations: 0 / 1.373 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/1.195, allocations: 233.5 kB / 1.373 GB, free: 5.117 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/1.195, allocations: 0 / 1.373 GB, free: 5.117 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0004817/1.195, allocations: 308.9 kB / 1.373 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.195, allocations: 117.9 kB / 1.373 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/1.195, allocations: 343.2 kB / 1.374 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/1.195, allocations: 33.14 kB / 1.374 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/1.196, allocations: 116.6 kB / 1.374 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/1.196, allocations: 38.33 kB / 1.374 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/1.196, allocations: 3.938 kB / 1.374 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.926e-05/1.196, allocations: 341.4 kB / 1.374 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.319e-05/1.196, allocations: 85.22 kB / 1.374 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/1.196, allocations: 462.6 kB / 1.375 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/1.196, allocations: 169.6 kB / 1.375 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.196, allocations: 0 / 1.375 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005835/1.197, allocations: 351 kB / 1.375 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/1.197, allocations: 4 kB / 1.375 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.197, allocations: 4 kB / 1.375 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.197, allocations: 7.938 kB / 1.375 GB, free: 2.859 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/1.197, allocations: 31.92 kB / 1.375 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.197, allocations: 7.984 kB / 1.375 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006522/1.198, allocations: 44.52 kB / 1.375 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/1.198, allocations: 11.5 kB / 1.375 GB, free: 2.77 MB / 0.8073 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 9.558e-05/1.198, allocations: 135.5 kB / 1.375 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/1.198, allocations: 31.62 kB / 1.375 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/1.198, allocations: 32.58 kB / 1.375 GB, free: 2.574 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.198, allocations: 4 kB / 1.375 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.198, allocations: 0 / 1.375 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.198, allocations: 0 / 1.375 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/1.198, allocations: 263.9 kB / 1.376 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.198, allocations: 3.938 kB / 1.376 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/1.198, allocations: 7.938 kB / 1.376 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.198, allocations: 4 kB / 1.376 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/1.198, allocations: 7.984 kB / 1.376 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.198, allocations: 0 / 1.376 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.198, allocations: 4 kB / 1.376 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003646/1.199, allocations: 368.7 kB / 1.376 GB, free: 1.949 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000391/1.199, allocations: 0.7295 MB / 1.377 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/1.199, allocations: 116.1 kB / 1.377 GB, free: 1.113 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/1.199, allocations: 11.92 kB / 1.377 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/1.199, allocations: 0 / 1.377 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/1.199, allocations: 19.61 kB / 1.377 GB, free: 1.086 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/1.199, allocations: 18.92 kB / 1.377 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001853/1.2, allocations: 268.7 kB / 1.377 GB, free: 0.8555 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009592/1.201, allocations: 83.33 kB / 1.377 GB, free: 0.7773 MB / 0.8073 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.0001726/1.201, allocations: 146.3 kB / 1.377 GB, free: 0.6289 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002901/1.201, allocations: 258.7 kB / 1.378 GB, free: 436 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.201, allocations: 0 / 1.378 GB, free: 436 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/1.201, allocations: 137.3 kB / 1.378 GB, free: 340 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/1.201, allocations: 26.2 kB / 1.378 GB, free: 324 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/1.202, allocations: 458.5 kB / 1.378 GB, free: 15.89 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/1.202, allocations: 0.801 MB / 1.379 GB, free: 15.07 MB / 0.823 GB Notification: Performance of SimCode: time 2.9e-07/1.202, allocations: 0 / 1.379 GB, free: 15.07 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)