Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_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.823/1.823, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.000932/0.0009321, allocations: 177.3 kB / 487 MB, free: 5.359 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.164/1.164, allocations: 221.3 MB / 0.7819 GB, free: 1.449 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.0008417/0.0008417, allocations: 103.7 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4217/0.4226, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.6209, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5252/1.146, allocations: 148.9 MB / 1.351 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/1.146, allocations: 70.86 kB / 1.351 GB, free: 15.84 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.1175/1.264, allocations: 45.66 MB / 1.395 GB, free: 3.52 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/1.264, allocations: 9 kB / 1.395 GB, free: 3.512 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/1.264, allocations: 63.36 kB / 1.395 GB, free: 3.449 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009417/1.265, allocations: 0.5285 MB / 1.396 GB, free: 2.969 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/1.265, allocations: 4 kB / 1.396 GB, free: 2.965 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/1.265, allocations: 35.98 kB / 1.396 GB, free: 2.93 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003154/1.266, allocations: 223.1 kB / 1.396 GB, free: 2.781 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/1.266, allocations: 302.2 kB / 1.396 GB, free: 2.543 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.266, allocations: 0 / 1.396 GB, free: 2.543 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/1.266, allocations: 3.906 kB / 1.396 GB, free: 2.539 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.266, allocations: 4 kB / 1.396 GB, free: 2.535 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/1.268, allocations: 1.118 MB / 1.398 GB, free: 1.594 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/1.268, allocations: 469.6 kB / 1.398 GB, free: 1.234 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/1.268, allocations: 188.1 kB / 1.398 GB, free: 1.094 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/1.269, allocations: 7.25 kB / 1.398 GB, free: 1.09 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/1.269, allocations: 269.2 kB / 1.398 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of pre-optimization done (n=24): time 1.452e-06/1.269, allocations: 3.938 kB / 1.398 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of matching and sorting (n=24): time 0.000674/1.27, allocations: 397.7 kB / 1.399 GB, free: 0.543 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/1.27, allocations: 117.5 kB / 1.399 GB, free: 420 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/1.27, allocations: 0.5159 MB / 1.399 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.948e-05/1.27, allocations: 37.45 kB / 1.4 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/1.27, allocations: 149.2 kB / 1.4 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/1.27, allocations: 49.48 kB / 1.4 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/1.27, allocations: 4 kB / 1.4 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.271, allocations: 356.5 kB / 1.4 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/1.271, allocations: 134.7 kB / 1.4 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007155/1.271, allocations: 0.7035 MB / 1.401 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/1.272, allocations: 211.7 kB / 1.401 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.272, allocations: 0 / 1.401 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008204/1.273, allocations: 434.6 kB / 1.401 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.273, allocations: 4 kB / 1.401 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.273, allocations: 4 kB / 1.401 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.273, allocations: 8 kB / 1.401 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/1.273, allocations: 27.92 kB / 1.402 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.273, allocations: 15.92 kB / 1.402 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/1.274, allocations: 84.22 kB / 1.402 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/1.274, allocations: 15.56 kB / 1.402 GB, free: 13.87 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.0001523/1.274, allocations: 144.8 kB / 1.402 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/1.274, allocations: 43.52 kB / 1.402 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.774e-05/1.275, allocations: 43.81 kB / 1.402 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/1.275, allocations: 4 kB / 1.402 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.275, allocations: 7.906 kB / 1.402 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.275, allocations: 3.984 kB / 1.402 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/1.275, allocations: 371.6 kB / 1.402 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.275, allocations: 4 kB / 1.402 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/1.275, allocations: 11.94 kB / 1.402 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/1.275, allocations: 192 / 1.402 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/1.275, allocations: 15.58 kB / 1.402 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.275, allocations: 7.938 kB / 1.402 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.275, allocations: 0 / 1.402 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005204/1.276, allocations: 447.8 kB / 1.403 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005903/1.276, allocations: 0.8085 MB / 1.403 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.276, allocations: 147.6 kB / 1.404 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/1.276, allocations: 3.688 kB / 1.404 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/1.276, allocations: 15.98 kB / 1.404 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/1.277, allocations: 30.64 kB / 1.404 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/1.277, allocations: 16.06 kB / 1.404 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.00039/1.277, allocations: 409.6 kB / 1.404 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001035/1.278, allocations: 118.8 kB / 1.404 GB, free: 11.5 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.0002558/1.278, allocations: 157.1 kB / 1.404 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004641/1.279, allocations: 341.3 kB / 1.405 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.279, allocations: 0 / 1.405 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/1.279, allocations: 186.2 kB / 1.405 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/1.279, allocations: 33.38 kB / 1.405 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/1.28, allocations: 0.6651 MB / 1.406 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/1.281, allocations: 0.8878 MB / 1.406 GB, free: 9.469 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.281, allocations: 0 / 1.406 GB, free: 9.469 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)