Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",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/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 185.2 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4606/0.4606, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 221.4 MB / 342.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.001049, allocations: 99.25 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1709/0.172, allocations: 78.45 MB / 494 MB, free: 7.938 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.5856, allocations: 72.3 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.6996, allocations: 101.1 MB / 0.6517 GB, free: 8.863 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.6999, allocations: 71.95 kB / 0.6518 GB, free: 8.793 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01187/0.7118, allocations: 4.046 MB / 0.6557 GB, free: 4.762 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7118, allocations: 8 kB / 0.6558 GB, free: 4.754 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.7119, allocations: 11.91 kB / 0.6558 GB, free: 4.742 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.7122, allocations: 218.8 kB / 0.656 GB, free: 4.488 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.7123, allocations: 14.89 kB / 0.656 GB, free: 4.477 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.7123, allocations: 8 kB / 0.656 GB, free: 4.469 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00012/0.7124, allocations: 41.8 kB / 0.656 GB, free: 4.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.7126, allocations: 83.38 kB / 0.6561 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.7126, allocations: 0 / 0.6561 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.7126, allocations: 0 / 0.6561 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.7127, allocations: 7.922 kB / 0.6561 GB, free: 4.328 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.7129, allocations: 211 kB / 0.6563 GB, free: 4.082 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.7131, allocations: 93.17 kB / 0.6564 GB, free: 3.973 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/0.7132, allocations: 53.81 kB / 0.6565 GB, free: 3.914 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.7132, allocations: 0 / 0.6565 GB, free: 3.914 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.7133, allocations: 109 kB / 0.6566 GB, free: 3.789 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.001e-06/0.7133, allocations: 4 kB / 0.6566 GB, free: 3.785 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003557/0.7137, allocations: 133.5 kB / 0.6567 GB, free: 3.648 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.7138, allocations: 89.09 kB / 0.6568 GB, free: 3.543 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.7139, allocations: 127.6 kB / 0.6569 GB, free: 3.414 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.7139, allocations: 37.64 kB / 0.6569 GB, free: 3.371 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.714, allocations: 88.56 kB / 0.657 GB, free: 3.281 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.714, allocations: 39.55 kB / 0.6571 GB, free: 3.242 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.7141, allocations: 0 / 0.6571 GB, free: 3.242 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7142, allocations: 330.8 kB / 0.6574 GB, free: 2.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.7143, allocations: 40.17 kB / 0.6574 GB, free: 2.867 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.7145, allocations: 213.4 kB / 0.6576 GB, free: 2.598 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.7147, allocations: 61.91 kB / 0.6577 GB, free: 2.539 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.7147, allocations: 4 kB / 0.6577 GB, free: 2.535 MB / 474.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003113/0.715, allocations: 167.4 kB / 0.6578 GB, free: 2.367 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.715, allocations: 11.91 kB / 0.6579 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.7151, allocations: 4.547 kB / 0.6579 GB, free: 2.352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.7151, allocations: 7.984 kB / 0.6579 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.7152, allocations: 4 kB / 0.6579 GB, free: 2.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.7152, allocations: 4 kB / 0.6579 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.7155, allocations: 75.78 kB / 0.6579 GB, free: 2.262 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.7155, allocations: 11 kB / 0.658 GB, free: 2.254 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001005/0.7156, allocations: 120.9 kB / 0.6581 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.7157, allocations: 7.906 kB / 0.6581 GB, free: 2.121 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.7157, allocations: 17.97 kB / 0.6581 GB, free: 2.109 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7157, allocations: 7.938 kB / 0.6581 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.7157, allocations: 0 / 0.6581 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.7157, allocations: 0 / 0.6581 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.7159, allocations: 166.2 kB / 0.6583 GB, free: 1.902 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7159, allocations: 0 / 0.6583 GB, free: 1.902 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.716, allocations: 15.89 kB / 0.6583 GB, free: 1.887 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.716, allocations: 0 / 0.6583 GB, free: 1.887 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.716, allocations: 8 kB / 0.6583 GB, free: 1.879 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.716, allocations: 0 / 0.6583 GB, free: 1.879 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.716, allocations: 0 / 0.6583 GB, free: 1.879 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000283/0.7163, allocations: 185.9 kB / 0.6585 GB, free: 1.672 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004011/0.7167, allocations: 0.5444 MB / 0.659 GB, free: 1.098 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.7168, allocations: 89.02 kB / 0.6591 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.7168, allocations: 0 / 0.6591 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.006e-05/0.7168, allocations: 7.906 kB / 0.6591 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.7169, allocations: 11.98 kB / 0.6591 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.7169, allocations: 4 kB / 0.6591 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.342e-05/0.717, allocations: 109.8 kB / 0.6592 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008905/0.7179, allocations: 87.8 kB / 0.6593 GB, free: 0.7773 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002939/0.7182, allocations: 182.2 kB / 0.6595 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.7185, allocations: 161.2 kB / 0.6596 GB, free: 432 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7185, allocations: 0 / 0.6596 GB, free: 432 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/0.7185, allocations: 43.98 kB / 0.6597 GB, free: 388 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.7187, allocations: 9.891 kB / 0.6597 GB, free: 380 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.7191, allocations: 160.1 kB / 0.6598 GB, free: 192 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/0.7194, allocations: 0.7247 MB / 0.6605 GB, free: 15.44 MB / 490.7 MB Notification: Performance of SimCode: time 3.5e-07/0.7195, allocations: 0 / 0.6605 GB, free: 15.44 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)