Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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/BuildSysPro 3.5.0/package.mo): time 0.7141/0.7141, allocations: 127.4 MB / 134.6 MB, free: 4.141 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 189.2 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.1 MB / 399.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 77.53 kB / 476.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3837/0.3848, allocations: 82.89 MB / 0.5461 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.5719, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5521/1.124, allocations: 102.5 MB / 0.7211 GB, free: 9.855 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.124, allocations: 75.95 kB / 0.7212 GB, free: 9.781 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.02055/1.145, allocations: 5.13 MB / 0.7262 GB, free: 4.598 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/1.145, allocations: 15.94 kB / 0.7262 GB, free: 4.582 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/1.145, allocations: 39.8 kB / 0.7262 GB, free: 4.543 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/1.147, allocations: 338.6 kB / 0.7265 GB, free: 4.172 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.1e-05/1.147, allocations: 15.89 kB / 0.7266 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/1.147, allocations: 43.98 kB / 0.7266 GB, free: 4.113 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000426/1.148, allocations: 99.95 kB / 0.7267 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/1.148, allocations: 314.5 kB / 0.727 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/1.148, allocations: 0 / 0.727 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/1.149, allocations: 11.97 kB / 0.727 GB, free: 3.672 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/1.149, allocations: 4 kB / 0.727 GB, free: 3.668 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/1.15, allocations: 457.9 kB / 0.7274 GB, free: 3.168 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/1.15, allocations: 272.3 kB / 0.7277 GB, free: 2.848 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/1.151, allocations: 149.1 kB / 0.7278 GB, free: 2.684 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/1.151, allocations: 11.89 kB / 0.7279 GB, free: 2.672 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007187/1.151, allocations: 316.2 kB / 0.7282 GB, free: 2.332 MB / 490.7 MB Notification: Performance of pre-optimization done (n=36): time 5.43e-06/1.151, allocations: 0 / 0.7282 GB, free: 2.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.001144/1.153, allocations: 361.3 kB / 0.7285 GB, free: 1.973 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/1.153, allocations: 204 kB / 0.7287 GB, free: 1.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/1.153, allocations: 125.1 kB / 0.7288 GB, free: 1.598 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/1.153, allocations: 49.69 kB / 0.7289 GB, free: 1.543 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/1.153, allocations: 96.8 kB / 0.729 GB, free: 1.445 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/1.153, allocations: 86.81 kB / 0.729 GB, free: 1.359 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/1.153, allocations: 12 kB / 0.7291 GB, free: 1.348 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/1.154, allocations: 334.8 kB / 0.7294 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/1.154, allocations: 196.8 kB / 0.7296 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/1.155, allocations: 248.4 kB / 0.7298 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/1.156, allocations: 204.5 kB / 0.73 GB, free: 368 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.156, allocations: 0 / 0.73 GB, free: 368 kB / 490.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001918/1.158, allocations: 0.5546 MB / 0.7305 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.158, allocations: 4 kB / 0.7305 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.158, allocations: 0 / 0.7305 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.495e-05/1.158, allocations: 7.906 kB / 0.7305 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/1.158, allocations: 27.92 kB / 0.7306 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.158, allocations: 7.938 kB / 0.7306 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.159, allocations: 123.7 kB / 0.7307 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.159, allocations: 27.98 kB / 0.7307 GB, free: 15.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.000397/1.16, allocations: 148.9 kB / 0.7309 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.16, allocations: 27.8 kB / 0.7309 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-05/1.16, allocations: 16.5 kB / 0.7309 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.16, allocations: 7.938 kB / 0.7309 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.16, allocations: 4 kB / 0.7309 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/1.16, allocations: 11.89 kB / 0.7309 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/1.161, allocations: 269.9 kB / 0.7312 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.161, allocations: 0 / 0.7312 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/1.161, allocations: 19.98 kB / 0.7312 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/1.161, allocations: 4 kB / 0.7312 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.371e-05/1.161, allocations: 15.97 kB / 0.7312 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/1.161, allocations: 7.938 kB / 0.7312 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.161, allocations: 0 / 0.7312 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00134/1.163, allocations: 477.1 kB / 0.7317 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001512/1.164, allocations: 0.8225 MB / 0.7325 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/1.164, allocations: 96.86 kB / 0.7326 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/1.164, allocations: 27.98 kB / 0.7326 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/1.165, allocations: 31.88 kB / 0.7326 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.165, allocations: 27.95 kB / 0.7327 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.165, allocations: 35.95 kB / 0.7327 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001279/1.165, allocations: 103.3 kB / 0.7328 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002054/1.167, allocations: 107.9 kB / 0.7329 GB, free: 13.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.0005135/1.168, allocations: 179.1 kB / 0.7331 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00175/1.17, allocations: 0.6062 MB / 0.7337 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.17, allocations: 0 / 0.7337 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005766/1.17, allocations: 199.8 kB / 0.7339 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/1.171, allocations: 22.88 kB / 0.7339 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/1.172, allocations: 356.7 kB / 0.7342 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/1.173, allocations: 0.757 MB / 0.735 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of SimCode: time 8.41e-07/1.173, allocations: 0 / 0.735 GB, free: 10.98 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)