Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.801/1.801, allocations: 390.4 MB / 397.7 MB, free: 11.32 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.0009103/0.0009102, allocations: 185.2 kB / 490.8 MB, free: 1.973 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.141/1.141, allocations: 221.4 MB / 0.7863 GB, free: 13.73 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.0008479/0.0008479, allocations: 84.11 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4262/0.4271, allocations: 149.2 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.6041, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5116/1.116, allocations: 149.7 MB / 1.358 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/1.116, allocations: 71.78 kB / 1.358 GB, free: 17.14 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.1172/1.233, allocations: 45.68 MB / 1.403 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/1.233, allocations: 8.688 kB / 1.403 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/1.233, allocations: 57.5 kB / 1.403 GB, free: 22.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009324/1.234, allocations: 0.5303 MB / 1.403 GB, free: 21.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/1.234, allocations: 8.109 kB / 1.403 GB, free: 21.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/1.235, allocations: 25.59 kB / 1.403 GB, free: 21.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003359/1.235, allocations: 222 kB / 1.403 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/1.235, allocations: 300.7 kB / 1.404 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/1.235, allocations: 0.75 kB / 1.404 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/1.235, allocations: 0.75 kB / 1.404 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.235, allocations: 10.81 kB / 1.404 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/1.237, allocations: 1.116 MB / 1.405 GB, free: 20.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/1.238, allocations: 479.6 kB / 1.405 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/1.238, allocations: 180.2 kB / 1.405 GB, free: 20.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/1.238, allocations: 11.73 kB / 1.405 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/1.238, allocations: 273.8 kB / 1.406 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/1.238, allocations: 0 / 1.406 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0006182/1.239, allocations: 391.2 kB / 1.406 GB, free: 20.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/1.239, allocations: 113.5 kB / 1.406 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005155/1.239, allocations: 0.5168 MB / 1.407 GB, free: 19.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.864e-05/1.239, allocations: 40.88 kB / 1.407 GB, free: 19.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.239, allocations: 147.3 kB / 1.407 GB, free: 19.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/1.24, allocations: 48.42 kB / 1.407 GB, free: 19.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/1.24, allocations: 8 kB / 1.407 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.24, allocations: 363.2 kB / 1.407 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/1.24, allocations: 126.8 kB / 1.407 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/1.24, allocations: 0.6962 MB / 1.408 GB, free: 18.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/1.241, allocations: 215.7 kB / 1.408 GB, free: 17.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.241, allocations: 0 / 1.408 GB, free: 17.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007372/1.242, allocations: 430.2 kB / 1.409 GB, free: 17.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.242, allocations: 10.66 kB / 1.409 GB, free: 17.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.242, allocations: 0 / 1.409 GB, free: 17.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.242, allocations: 8 kB / 1.409 GB, free: 17.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/1.242, allocations: 39.03 kB / 1.409 GB, free: 17.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/1.242, allocations: 4 kB / 1.409 GB, free: 17.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.243, allocations: 88.5 kB / 1.409 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/1.243, allocations: 16 kB / 1.409 GB, free: 17.38 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.0001404/1.243, allocations: 147.7 kB / 1.409 GB, free: 17.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/1.243, allocations: 43.44 kB / 1.409 GB, free: 17.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.944e-05/1.243, allocations: 48.5 kB / 1.409 GB, free: 17.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.243, allocations: 0 / 1.409 GB, free: 17.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.243, allocations: 8.062 kB / 1.409 GB, free: 17.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.243, allocations: 11.89 kB / 1.409 GB, free: 17.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/1.243, allocations: 369.2 kB / 1.409 GB, free: 16.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.243, allocations: 0 / 1.409 GB, free: 16.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/1.244, allocations: 4 kB / 1.409 GB, free: 16.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.244, allocations: 0 / 1.409 GB, free: 16.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/1.244, allocations: 11.92 kB / 1.409 GB, free: 16.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.244, allocations: 4 kB / 1.409 GB, free: 16.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.244, allocations: 7.844 kB / 1.409 GB, free: 16.79 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004553/1.244, allocations: 444 kB / 1.41 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005425/1.245, allocations: 0.8188 MB / 1.411 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-05/1.245, allocations: 147.5 kB / 1.411 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/1.245, allocations: 0 / 1.411 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/1.245, allocations: 15.98 kB / 1.411 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/1.245, allocations: 31.27 kB / 1.411 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/1.245, allocations: 19.62 kB / 1.411 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003885/1.245, allocations: 405.6 kB / 1.411 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001014/1.246, allocations: 115.7 kB / 1.411 GB, free: 15.01 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.0001996/1.247, allocations: 160.4 kB / 1.411 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004192/1.247, allocations: 345 kB / 1.412 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/1.247, allocations: 4.312 kB / 1.412 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/1.247, allocations: 180.2 kB / 1.412 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/1.248, allocations: 28.33 kB / 1.412 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/1.249, allocations: 0.6651 MB / 1.413 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000494/1.249, allocations: 0.8874 MB / 1.414 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.249, allocations: 0 / 1.414 GB, free: 12.97 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)