Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",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 7.0.3-maint.7.0.x/package.mo): time 1.191/1.191, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000988/0.000988, allocations: 186.2 kB / 316 MB, free: 7.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 0.5667 GB, free: 23.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008635/0.0008637, allocations: 87.05 kB / 0.671 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.207/0.2079, allocations: 112.5 MB / 0.7808 GB, free: 256 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.6143, allocations: 106.3 MB / 0.8847 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.7547, allocations: 134.3 MB / 1.016 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.755, allocations: 75.95 kB / 1.016 GB, free: 5.711 MB / 0.6667 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.3569/1.112, allocations: 22.81 MB / 1.038 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/1.112, allocations: 7.062 kB / 1.038 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/1.112, allocations: 69.47 kB / 1.038 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009159/1.113, allocations: 0.6414 MB / 1.039 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/1.113, allocations: 10.66 kB / 1.039 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/1.113, allocations: 9.469 kB / 1.039 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001578/1.113, allocations: 98.36 kB / 1.039 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/1.113, allocations: 185.5 kB / 1.039 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/1.113, allocations: 6.234 kB / 1.039 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.113, allocations: 3.625 kB / 1.039 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.113, allocations: 3.812 kB / 1.039 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/1.114, allocations: 1.036 MB / 1.04 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/1.115, allocations: 250.2 kB / 1.04 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/1.115, allocations: 100.6 kB / 1.041 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/1.115, allocations: 3.094 kB / 1.041 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/1.115, allocations: 197.4 kB / 1.041 GB, free: 141 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/1.115, allocations: 0 / 1.041 GB, free: 141 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0004151/1.115, allocations: 287.8 kB / 1.041 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/1.115, allocations: 158 kB / 1.041 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007951/1.116, allocations: 0.8806 MB / 1.042 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/1.116, allocations: 28.61 kB / 1.042 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/1.116, allocations: 169.4 kB / 1.042 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/1.116, allocations: 74.3 kB / 1.042 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/1.116, allocations: 0 / 1.042 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/1.116, allocations: 390 kB / 1.043 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/1.117, allocations: 228.5 kB / 1.043 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/1.117, allocations: 329.2 kB / 1.043 GB, free: 140 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/1.117, allocations: 257.4 kB / 1.043 GB, free: 140 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.117, allocations: 6.688 kB / 1.043 GB, free: 140 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008163/1.118, allocations: 0.6904 MB / 1.044 GB, free: 140 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.118, allocations: 7.062 kB / 1.044 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.118, allocations: 3.312 kB / 1.044 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.118, allocations: 6.188 kB / 1.044 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/1.119, allocations: 116.9 kB / 1.044 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.119, allocations: 6.75 kB / 1.044 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/1.119, allocations: 29.81 kB / 1.044 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/1.119, allocations: 37.36 kB / 1.044 GB, free: 139.9 MB / 0.6823 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.0001006/1.119, allocations: 141 kB / 1.044 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/1.119, allocations: 74.34 kB / 1.045 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/1.12, allocations: 326.3 kB / 1.045 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/1.12, allocations: 6.312 kB / 1.045 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.12, allocations: 2.406 kB / 1.045 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.12, allocations: 4.938 kB / 1.045 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/1.12, allocations: 442.5 kB / 1.045 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.12, allocations: 3.844 kB / 1.045 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/1.12, allocations: 23.45 kB / 1.045 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/1.12, allocations: 3.875 kB / 1.045 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/1.12, allocations: 12.8 kB / 1.045 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.12, allocations: 3.969 kB / 1.045 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.12, allocations: 0 / 1.045 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003936/1.121, allocations: 403.3 kB / 1.046 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004437/1.121, allocations: 0.7808 MB / 1.046 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/1.121, allocations: 168.5 kB / 1.047 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.085e-05/1.121, allocations: 7.25 kB / 1.047 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/1.121, allocations: 13.72 kB / 1.047 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/1.122, allocations: 24.19 kB / 1.047 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/1.122, allocations: 21.22 kB / 1.047 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005148/1.122, allocations: 0.5469 MB / 1.047 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009437/1.123, allocations: 131.2 kB / 1.047 GB, free: 138.5 MB / 0.6823 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.000747/1.124, allocations: 366 kB / 1.048 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005223/1.124, allocations: 384 kB / 1.048 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.124, allocations: 0 / 1.048 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/1.124, allocations: 107.9 kB / 1.048 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/1.125, allocations: 182.2 kB / 1.048 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/1.126, allocations: 0.8891 MB / 1.049 GB, free: 138 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/1.127, allocations: 1.004 MB / 1.05 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/1.127, allocations: 0 / 1.05 GB, free: 137.3 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)