Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",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.825/1.825, 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.0009268/0.0009268, allocations: 172 kB / 487 MB, free: 5.402 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.171/1.171, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.0008613/0.0008611, allocations: 95.02 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4316/0.4324, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.6297, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5175/1.147, allocations: 148.5 MB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/1.147, allocations: 71.95 kB / 1.35 GB, free: 15.85 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.05749/1.205, allocations: 21.16 MB / 1.371 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/1.205, allocations: 8 kB / 1.371 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/1.205, allocations: 31.72 kB / 1.371 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/1.206, allocations: 374.3 kB / 1.372 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/1.206, allocations: 4 kB / 1.372 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/1.206, allocations: 19.91 kB / 1.372 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001514/1.206, allocations: 113.2 kB / 1.372 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/1.206, allocations: 201.2 kB / 1.372 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/1.206, allocations: 0 / 1.372 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/1.206, allocations: 0 / 1.372 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/1.206, allocations: 4 kB / 1.372 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/1.207, allocations: 360.2 kB / 1.372 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/1.207, allocations: 325 kB / 1.372 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/1.207, allocations: 127.1 kB / 1.373 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/1.207, allocations: 7 kB / 1.373 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/1.207, allocations: 232.1 kB / 1.373 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/1.207, allocations: 0 / 1.373 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0004923/1.208, allocations: 309.5 kB / 1.373 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/1.208, allocations: 106.8 kB / 1.373 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/1.208, allocations: 345.2 kB / 1.374 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.526e-05/1.208, allocations: 29.7 kB / 1.374 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/1.208, allocations: 119.4 kB / 1.374 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/1.208, allocations: 39.33 kB / 1.374 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/1.208, allocations: 4 kB / 1.374 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.995e-05/1.208, allocations: 348.6 kB / 1.374 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.251e-05/1.208, allocations: 85.39 kB / 1.374 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/1.209, allocations: 460.3 kB / 1.375 GB, free: 3.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/1.209, allocations: 157.9 kB / 1.375 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.209, allocations: 4 kB / 1.375 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000577/1.21, allocations: 342 kB / 1.375 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.21, allocations: 4 kB / 1.375 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.21, allocations: 4 kB / 1.375 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.21, allocations: 11.94 kB / 1.375 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/1.21, allocations: 35.78 kB / 1.375 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.21, allocations: 4 kB / 1.375 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/1.211, allocations: 48.38 kB / 1.375 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/1.211, allocations: 12 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 0.0001038/1.211, allocations: 128.4 kB / 1.375 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/1.211, allocations: 27.62 kB / 1.375 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/1.211, allocations: 37.45 kB / 1.375 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.211, allocations: 7.984 kB / 1.375 GB, free: 2.574 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.211, allocations: 0 / 1.375 GB, free: 2.574 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.211, allocations: 4 kB / 1.375 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/1.211, allocations: 265.9 kB / 1.376 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.211, allocations: 12.05 kB / 1.376 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-05/1.211, allocations: 4 kB / 1.376 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.211, allocations: 0 / 1.376 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/1.211, allocations: 7.25 kB / 1.376 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.211, allocations: 0 / 1.376 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.211, allocations: 7.984 kB / 1.376 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003646/1.211, allocations: 372.7 kB / 1.376 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003774/1.212, allocations: 0.7298 MB / 1.377 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/1.212, allocations: 112.7 kB / 1.377 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/1.212, allocations: 3.625 kB / 1.377 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-05/1.212, allocations: 0 / 1.377 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/1.212, allocations: 19.38 kB / 1.377 GB, free: 1.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/1.212, allocations: 19.98 kB / 1.377 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001901/1.212, allocations: 276 kB / 1.377 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009733/1.213, allocations: 83.27 kB / 1.377 GB, free: 0.7734 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.0001809/1.213, allocations: 154.3 kB / 1.377 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002865/1.214, allocations: 243.7 kB / 1.378 GB, free: 440 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.214, allocations: 192 / 1.378 GB, free: 440 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/1.214, allocations: 144.3 kB / 1.378 GB, free: 336 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/1.214, allocations: 20.91 kB / 1.378 GB, free: 324 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/1.215, allocations: 459.6 kB / 1.378 GB, free: 15.89 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/1.215, allocations: 0.8003 MB / 1.379 GB, free: 15.07 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/1.215, allocations: 0 / 1.379 GB, free: 15.07 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)