Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.395/1.395, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.001088/0.001088, allocations: 185.2 kB / 366.3 MB, free: 1.918 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.063/1.063, allocations: 205.1 MB / 0.6256 GB, free: 5.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008325/0.0008325, allocations: 78.77 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1897/0.1906, allocations: 122.5 MB / 0.8591 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.6327, allocations: 116.3 MB / 0.9727 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.7773, allocations: 141.7 MB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.7775, allocations: 85.09 kB / 1.111 GB, free: 6.66 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.05699/0.8345, allocations: 23.26 MB / 1.134 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.8346, allocations: 8 kB / 1.134 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.8347, allocations: 82.98 kB / 1.134 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.836, allocations: 0.6792 MB / 1.135 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.836, allocations: 11.98 kB / 1.135 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.836, allocations: 12 kB / 1.135 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000173/0.8362, allocations: 95.89 kB / 1.135 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.8365, allocations: 189.9 kB / 1.135 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.8365, allocations: 3.938 kB / 1.135 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.8365, allocations: 1.031 kB / 1.135 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.8365, allocations: 4 kB / 1.135 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.8376, allocations: 1.076 MB / 1.136 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.838, allocations: 253.4 kB / 1.136 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.8381, allocations: 92.38 kB / 1.136 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.8381, allocations: 0 / 1.136 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.8383, allocations: 208.3 kB / 1.136 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.232e-06/0.8384, allocations: 0 / 1.136 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0005071/0.8389, allocations: 288.5 kB / 1.137 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.8389, allocations: 158.2 kB / 1.137 GB, free: 12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.84, allocations: 0.9141 MB / 1.138 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.8401, allocations: 34.27 kB / 1.138 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.8402, allocations: 168.8 kB / 1.138 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.8402, allocations: 71.16 kB / 1.138 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.8403, allocations: 0 / 1.138 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.8404, allocations: 330 kB / 1.138 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.8407, allocations: 233.2 kB / 1.139 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.8411, allocations: 323.2 kB / 1.139 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007613/0.8419, allocations: 326.1 kB / 1.139 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8419, allocations: 0 / 1.139 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001353/0.8432, allocations: 0.7457 MB / 1.14 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.8433, allocations: 8 kB / 1.14 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.8433, allocations: 0 / 1.14 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.8433, allocations: 12.16 kB / 1.14 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.8437, allocations: 115.8 kB / 1.14 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8438, allocations: 4 kB / 1.14 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.8441, allocations: 31.67 kB / 1.14 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/0.8442, allocations: 39.98 kB / 1.14 GB, free: 8.629 MB / 0.7448 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.0001374/0.8443, allocations: 137.1 kB / 1.14 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.8444, allocations: 75.06 kB / 1.14 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006319/0.8451, allocations: 330.5 kB / 1.141 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.8451, allocations: 4.562 kB / 1.141 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8451, allocations: 0 / 1.141 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.8451, allocations: 4 kB / 1.141 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.8456, allocations: 457.7 kB / 1.141 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8456, allocations: 3.938 kB / 1.141 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.8457, allocations: 31.92 kB / 1.141 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.8457, allocations: 5.219 kB / 1.141 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.8458, allocations: 8 kB / 1.141 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8458, allocations: 0 / 1.141 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8458, allocations: 4 kB / 1.141 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004818/0.8463, allocations: 403.3 kB / 1.142 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005822/0.8469, allocations: 0.7811 MB / 1.142 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.8471, allocations: 172.1 kB / 1.142 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.763e-05/0.8472, allocations: 11.98 kB / 1.142 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.8474, allocations: 19.98 kB / 1.142 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.8474, allocations: 23.88 kB / 1.142 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.8475, allocations: 19.98 kB / 1.143 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0006667/0.8481, allocations: 0.5694 MB / 1.143 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001216/0.8494, allocations: 131.9 kB / 1.143 GB, free: 5.293 MB / 0.7448 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.0007241/0.8501, allocations: 384.3 kB / 1.144 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005591/0.8507, allocations: 396.7 kB / 1.144 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8507, allocations: 0 / 1.144 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.8509, allocations: 104.2 kB / 1.144 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007807/0.8516, allocations: 186.7 kB / 1.144 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.8532, allocations: 0.8978 MB / 1.145 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005951/0.8538, allocations: 1.014 MB / 1.146 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.8538, allocations: 0 / 1.146 GB, free: 2.359 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)