Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_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 8.0.1-maint.8.0.x/package.mo): time 1.328/1.328, allocations: 285.5 MB / 292.8 MB, free: 9.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 185.3 kB / 361.1 MB, free: 372 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.019/1.019, allocations: 205.1 MB / 0.6195 GB, free: 2.906 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007582/0.0007582, allocations: 92.62 kB / 0.7326 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3468/0.3476, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.4856, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.8888, allocations: 140.7 MB / 1.101 GB, free: 31.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001589/0.889, allocations: 76.48 kB / 1.101 GB, free: 31.77 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.04829/0.9373, allocations: 23.26 MB / 1.124 GB, free: 30.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.9373, allocations: 7.406 kB / 1.124 GB, free: 30.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.9375, allocations: 77.91 kB / 1.124 GB, free: 29.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.9386, allocations: 0.6885 MB / 1.125 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.9386, allocations: 12.34 kB / 1.125 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.9387, allocations: 16.7 kB / 1.125 GB, free: 29.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001592/0.9388, allocations: 92.72 kB / 1.125 GB, free: 29.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.939, allocations: 188.8 kB / 1.125 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.9391, allocations: 0 / 1.125 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.9391, allocations: 9.25 kB / 1.125 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9391, allocations: 7.844 kB / 1.125 GB, free: 29.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009716/0.9401, allocations: 1.068 MB / 1.126 GB, free: 29.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.9403, allocations: 244.8 kB / 1.126 GB, free: 28.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.9404, allocations: 100.5 kB / 1.126 GB, free: 28.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.9405, allocations: 4.312 kB / 1.126 GB, free: 28.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.9407, allocations: 204.6 kB / 1.127 GB, free: 28.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.9407, allocations: 3.938 kB / 1.127 GB, free: 28.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0004178/0.9411, allocations: 282.4 kB / 1.127 GB, free: 28.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.9411, allocations: 163.2 kB / 1.127 GB, free: 28.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008787/0.942, allocations: 0.9098 MB / 1.128 GB, free: 28.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.9421, allocations: 30.19 kB / 1.128 GB, free: 28.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.9421, allocations: 175.6 kB / 1.128 GB, free: 28.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.9422, allocations: 70.14 kB / 1.128 GB, free: 28.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.9422, allocations: 0 / 1.128 GB, free: 28.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9424, allocations: 328.1 kB / 1.128 GB, free: 43.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.9427, allocations: 238.1 kB / 1.129 GB, free: 43.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.943, allocations: 323.4 kB / 1.129 GB, free: 43.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/0.9437, allocations: 315.7 kB / 1.129 GB, free: 43.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9437, allocations: 3.844 kB / 1.129 GB, free: 43.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001158/0.9448, allocations: 0.7501 MB / 1.13 GB, free: 43.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.9449, allocations: 4.422 kB / 1.13 GB, free: 43.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9449, allocations: 3.75 kB / 1.13 GB, free: 43.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.9449, allocations: 3.875 kB / 1.13 GB, free: 43.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.9453, allocations: 116.9 kB / 1.13 GB, free: 43.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.9453, allocations: 4.484 kB / 1.13 GB, free: 43.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.9456, allocations: 35.33 kB / 1.13 GB, free: 43.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.9456, allocations: 38.25 kB / 1.13 GB, free: 43.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0001035/0.9457, allocations: 139.7 kB / 1.13 GB, free: 43.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.9458, allocations: 74.67 kB / 1.13 GB, free: 43.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000444/0.9463, allocations: 326 kB / 1.131 GB, free: 43.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.9463, allocations: 9.719 kB / 1.131 GB, free: 43.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9463, allocations: 0 / 1.131 GB, free: 43.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9463, allocations: 0 / 1.131 GB, free: 43.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.9467, allocations: 465.8 kB / 1.131 GB, free: 43.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9467, allocations: 0 / 1.131 GB, free: 43.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.9468, allocations: 29.98 kB / 1.131 GB, free: 43.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.9468, allocations: 3.938 kB / 1.131 GB, free: 43.26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.9468, allocations: 9.859 kB / 1.131 GB, free: 43.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9468, allocations: 0 / 1.131 GB, free: 43.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.9468, allocations: 3.906 kB / 1.131 GB, free: 43.26 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003566/0.9472, allocations: 406.4 kB / 1.132 GB, free: 43.04 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004519/0.9476, allocations: 0.7807 MB / 1.132 GB, free: 42.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.9478, allocations: 173.1 kB / 1.133 GB, free: 42.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/0.9479, allocations: 13 kB / 1.133 GB, free: 42.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.9481, allocations: 19.28 kB / 1.133 GB, free: 42.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.9481, allocations: 28.56 kB / 1.133 GB, free: 42.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.9481, allocations: 16.97 kB / 1.133 GB, free: 42.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005081/0.9487, allocations: 0.5681 MB / 1.133 GB, free: 42.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009356/0.9496, allocations: 138.6 kB / 1.133 GB, free: 42.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0005914/0.9502, allocations: 384.3 kB / 1.134 GB, free: 42.01 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004272/0.9506, allocations: 396.6 kB / 1.134 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9506, allocations: 0 / 1.134 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.9508, allocations: 109.5 kB / 1.134 GB, free: 41.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.9515, allocations: 191.1 kB / 1.134 GB, free: 41.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.9527, allocations: 0.8953 MB / 1.135 GB, free: 41.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.9532, allocations: 1.006 MB / 1.136 GB, free: 40.98 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.9532, allocations: 0 / 1.136 GB, free: 40.98 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)