Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.83/1.83, 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.00101/0.00101, allocations: 188.6 kB / 487 MB, free: 5.379 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.152/1.152, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.0008691/0.0008691, allocations: 98.12 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.42/0.4209, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.6072, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.513/1.12, allocations: 152.4 MB / 1.354 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/1.121, allocations: 84.12 kB / 1.354 GB, free: 15.8 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.05649/1.177, allocations: 23.88 MB / 1.378 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/1.177, allocations: 8 kB / 1.378 GB, free: 1.152 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/1.177, allocations: 75.05 kB / 1.378 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.179, allocations: 0.6877 MB / 1.378 GB, free: 476 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/1.179, allocations: 19.7 kB / 1.378 GB, free: 460 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/1.179, allocations: 8 kB / 1.378 GB, free: 452 kB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001705/1.179, allocations: 90.72 kB / 1.378 GB, free: 392 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/1.179, allocations: 186.7 kB / 1.379 GB, free: 224 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.179, allocations: 3.938 kB / 1.379 GB, free: 220 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/1.179, allocations: 2.812 kB / 1.379 GB, free: 220 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.179, allocations: 4 kB / 1.379 GB, free: 216 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/1.18, allocations: 1.075 MB / 1.38 GB, free: 15.25 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/1.181, allocations: 246.5 kB / 1.38 GB, free: 15.02 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/1.181, allocations: 92.44 kB / 1.38 GB, free: 14.94 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/1.181, allocations: 11.92 kB / 1.38 GB, free: 14.93 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/1.181, allocations: 195.3 kB / 1.38 GB, free: 14.75 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 2.375e-06/1.181, allocations: 4 kB / 1.38 GB, free: 14.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=25): time 0.0005464/1.182, allocations: 281.5 kB / 1.38 GB, free: 14.52 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/1.182, allocations: 161.7 kB / 1.381 GB, free: 14.33 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.183, allocations: 0.9201 MB / 1.381 GB, free: 13.63 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/1.183, allocations: 29.7 kB / 1.382 GB, free: 13.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/1.183, allocations: 175.2 kB / 1.382 GB, free: 13.45 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/1.183, allocations: 69.53 kB / 1.382 GB, free: 13.39 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/1.183, allocations: 3.984 kB / 1.382 GB, free: 13.39 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/1.183, allocations: 328.1 kB / 1.382 GB, free: 13.07 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/1.184, allocations: 235.9 kB / 1.382 GB, free: 12.92 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/1.184, allocations: 329.4 kB / 1.383 GB, free: 12.66 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000765/1.185, allocations: 313.6 kB / 1.383 GB, free: 12.44 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.185, allocations: 0 / 1.383 GB, free: 12.44 MB / 0.823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001329/1.186, allocations: 0.749 MB / 1.384 GB, free: 11.85 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.186, allocations: 7.938 kB / 1.384 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.186, allocations: 4.156 kB / 1.384 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.186, allocations: 11.98 kB / 1.384 GB, free: 11.82 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/1.187, allocations: 114.1 kB / 1.384 GB, free: 11.72 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.187, allocations: 7.984 kB / 1.384 GB, free: 11.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/1.187, allocations: 31.73 kB / 1.384 GB, free: 11.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/1.187, allocations: 34.86 kB / 1.384 GB, free: 11.65 MB / 0.823 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.0001151/1.187, allocations: 140.2 kB / 1.384 GB, free: 11.51 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/1.187, allocations: 75.05 kB / 1.384 GB, free: 11.44 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005768/1.188, allocations: 329.2 kB / 1.384 GB, free: 11.18 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.188, allocations: 4 kB / 1.384 GB, free: 11.18 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.188, allocations: 4 kB / 1.384 GB, free: 11.18 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.188, allocations: 0 / 1.384 GB, free: 11.18 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/1.188, allocations: 450 kB / 1.385 GB, free: 10.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.188, allocations: 4 kB / 1.385 GB, free: 10.79 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.539e-05/1.189, allocations: 31.92 kB / 1.385 GB, free: 10.76 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/1.189, allocations: 4 kB / 1.385 GB, free: 10.76 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/1.189, allocations: 7.375 kB / 1.385 GB, free: 10.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.189, allocations: 4 kB / 1.385 GB, free: 10.75 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/1.189, allocations: 3.984 kB / 1.385 GB, free: 10.75 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004582/1.189, allocations: 408.2 kB / 1.385 GB, free: 10.36 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005506/1.19, allocations: 0.7759 MB / 1.386 GB, free: 9.586 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/1.19, allocations: 178.8 kB / 1.386 GB, free: 9.402 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.252e-05/1.19, allocations: 7.5 kB / 1.386 GB, free: 9.398 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/1.19, allocations: 15.98 kB / 1.386 GB, free: 9.383 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/1.19, allocations: 27.5 kB / 1.386 GB, free: 9.359 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/1.19, allocations: 15.48 kB / 1.386 GB, free: 9.348 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006228/1.191, allocations: 0.573 MB / 1.387 GB, free: 8.918 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001041/1.192, allocations: 131.1 kB / 1.387 GB, free: 8.797 MB / 0.823 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.0007025/1.193, allocations: 388.7 kB / 1.387 GB, free: 8.535 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005087/1.193, allocations: 388.5 kB / 1.388 GB, free: 8.262 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.193, allocations: 0 / 1.388 GB, free: 8.262 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/1.193, allocations: 116.9 kB / 1.388 GB, free: 8.18 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007432/1.194, allocations: 187.3 kB / 1.388 GB, free: 8.035 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/1.195, allocations: 0.8986 MB / 1.389 GB, free: 7.219 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/1.196, allocations: 1.01 MB / 1.39 GB, free: 6.203 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/1.196, allocations: 0 / 1.39 GB, free: 6.203 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)