Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.828/1.828, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009877/0.0009879, allocations: 176.6 kB / 487 MB, free: 5.43 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.183/1.183, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0009061/0.0009061, allocations: 97.62 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4514/0.4523, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.6477, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5448/1.193, allocations: 149.2 MB / 1.351 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/1.193, allocations: 67.5 kB / 1.351 GB, free: 15.93 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.03281/1.226, allocations: 10.79 MB / 1.362 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/1.226, allocations: 8 kB / 1.362 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/1.226, allocations: 20.33 kB / 1.362 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.992e-05/1.226, allocations: 189.4 kB / 1.362 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/1.226, allocations: 4.75 kB / 1.362 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/1.226, allocations: 21.08 kB / 1.362 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002038/1.226, allocations: 89.2 kB / 1.362 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/1.226, allocations: 224.9 kB / 1.362 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.226, allocations: 7.938 kB / 1.362 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/1.227, allocations: 4.188 kB / 1.362 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.227, allocations: 8 kB / 1.362 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/1.227, allocations: 353.5 kB / 1.363 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/1.228, allocations: 472.4 kB / 1.363 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/1.228, allocations: 148.6 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/1.228, allocations: 13.22 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/1.229, allocations: 268.9 kB / 1.363 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=40): time 1.794e-06/1.229, allocations: 4 kB / 1.363 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=40): time 0.0006709/1.229, allocations: 289.5 kB / 1.364 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/1.229, allocations: 357.9 kB / 1.364 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/1.229, allocations: 147.3 kB / 1.364 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/1.229, allocations: 33.14 kB / 1.364 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/1.23, allocations: 96.98 kB / 1.364 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/1.23, allocations: 107.3 kB / 1.364 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/1.23, allocations: 0 / 1.364 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.137e-05/1.23, allocations: 329.5 kB / 1.365 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/1.23, allocations: 101.2 kB / 1.365 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/1.23, allocations: 143.3 kB / 1.365 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/1.23, allocations: 157.5 kB / 1.365 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.23, allocations: 4 kB / 1.365 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006583/1.231, allocations: 382.4 kB / 1.365 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/1.231, allocations: 7.906 kB / 1.365 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.231, allocations: 0 / 1.365 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.231, allocations: 4 kB / 1.365 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/1.231, allocations: 63.33 kB / 1.366 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.231, allocations: 4 kB / 1.366 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/1.232, allocations: 59.59 kB / 1.366 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/1.232, allocations: 23.17 kB / 1.366 GB, free: 10.3 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.425e-05/1.232, allocations: 124.2 kB / 1.366 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/1.232, allocations: 31.58 kB / 1.366 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/1.232, allocations: 327.1 kB / 1.366 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.232, allocations: 16 kB / 1.366 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.233, allocations: 0 / 1.366 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/1.233, allocations: 7.984 kB / 1.366 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/1.233, allocations: 298.5 kB / 1.366 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.233, allocations: 4 kB / 1.366 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/1.233, allocations: 71.58 kB / 1.366 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/1.233, allocations: 8 kB / 1.366 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/1.233, allocations: 11.84 kB / 1.366 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.233, allocations: 11.98 kB / 1.366 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.233, allocations: 0 / 1.366 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005939/1.234, allocations: 0.5835 MB / 1.367 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006241/1.234, allocations: 0.9617 MB / 1.368 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/1.234, allocations: 140.3 kB / 1.368 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/1.235, allocations: 11.12 kB / 1.368 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/1.235, allocations: 35.88 kB / 1.368 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/1.235, allocations: 49.81 kB / 1.368 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/1.235, allocations: 23.11 kB / 1.368 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.48e-05/1.235, allocations: 124.7 kB / 1.368 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001112/1.236, allocations: 216 kB / 1.369 GB, free: 7.312 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005143/1.237, allocations: 322 kB / 1.369 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001101/1.238, allocations: 2.992 MB / 1.372 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.238, allocations: 0 / 1.372 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/1.238, allocations: 170.7 kB / 1.372 GB, free: 3.883 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/1.238, allocations: 23.64 kB / 1.372 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007431/1.239, allocations: 411.7 kB / 1.372 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/1.239, allocations: 0.8085 MB / 1.373 GB, free: 18.63 MB / 0.823 GB Notification: Performance of SimCode: time 1.092e-06/1.239, allocations: 0 / 1.373 GB, free: 18.63 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat does not exist to compare? outputFormat=mat