Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_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.003781/0.003781, allocations: 186.5 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7154/0.7154, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001208, allocations: 99.45 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4935/0.4947, allocations: 88.42 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.6926, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5846/1.277, allocations: 110.9 MB / 0.7416 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.278, allocations: 68.62 kB / 0.7417 GB, free: 10.8 MB / 0.4948 GB 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.01126/1.289, allocations: 4.047 MB / 0.7456 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.289, allocations: 11.56 kB / 0.7456 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/1.289, allocations: 14.72 kB / 0.7456 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/1.289, allocations: 218.5 kB / 0.7459 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/1.289, allocations: 1.172 kB / 0.7459 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/1.289, allocations: 7.688 kB / 0.7459 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001527/1.29, allocations: 47.67 kB / 0.7459 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/1.29, allocations: 86.27 kB / 0.746 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.29, allocations: 0 / 0.746 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/1.29, allocations: 1.453 kB / 0.746 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.29, allocations: 3.938 kB / 0.746 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/1.29, allocations: 206.8 kB / 0.7462 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/1.29, allocations: 87.41 kB / 0.7463 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/1.29, allocations: 55.06 kB / 0.7463 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/1.29, allocations: 0.75 kB / 0.7463 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/1.29, allocations: 110.4 kB / 0.7464 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/1.29, allocations: 4 kB / 0.7464 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0003214/1.291, allocations: 133.5 kB / 0.7466 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/1.291, allocations: 82.25 kB / 0.7466 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/1.291, allocations: 134.9 kB / 0.7468 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/1.291, allocations: 33.75 kB / 0.7468 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/1.291, allocations: 93.8 kB / 0.7469 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/1.291, allocations: 32.59 kB / 0.7469 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/1.291, allocations: 0 / 0.7469 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.291, allocations: 331.3 kB / 0.7472 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/1.291, allocations: 44.06 kB / 0.7473 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/1.292, allocations: 215.4 kB / 0.7475 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/1.292, allocations: 66.91 kB / 0.7476 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.292, allocations: 0 / 0.7476 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002538/1.292, allocations: 167.8 kB / 0.7477 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/1.292, allocations: 7.844 kB / 0.7477 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/1.292, allocations: 9.062 kB / 0.7477 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/1.292, allocations: 0 / 0.7477 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/1.292, allocations: 16.86 kB / 0.7477 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.292, allocations: 4.141 kB / 0.7477 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/1.292, allocations: 75.38 kB / 0.7478 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/1.292, allocations: 12.3 kB / 0.7478 GB, free: 24.67 MB / 0.5105 GB 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 9.731e-05/1.293, allocations: 120.5 kB / 0.7479 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/1.293, allocations: 12.41 kB / 0.748 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/1.293, allocations: 13.52 kB / 0.748 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/1.293, allocations: 0 / 0.748 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.293, allocations: 11.72 kB / 0.748 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.293, allocations: 0.6562 kB / 0.748 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/1.293, allocations: 166.7 kB / 0.7481 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.293, allocations: 0 / 0.7481 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/1.293, allocations: 5.281 kB / 0.7481 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/1.293, allocations: 3.969 kB / 0.7482 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1.293, allocations: 8.641 kB / 0.7482 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.293, allocations: 3.812 kB / 0.7482 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.293, allocations: 0 / 0.7482 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002223/1.293, allocations: 184.7 kB / 0.7483 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003602/1.293, allocations: 0.5464 MB / 0.7489 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/1.294, allocations: 89.52 kB / 0.749 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/1.294, allocations: 4.016 kB / 0.749 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/1.294, allocations: 5.109 kB / 0.749 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/1.294, allocations: 9.859 kB / 0.749 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/1.294, allocations: 5.156 kB / 0.749 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.071e-05/1.294, allocations: 110.2 kB / 0.7491 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008896/1.295, allocations: 83.62 kB / 0.7492 GB, free: 23.59 MB / 0.5105 GB 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.0002895/1.295, allocations: 179.5 kB / 0.7493 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002721/1.295, allocations: 154.9 kB / 0.7495 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/1.295, allocations: 0 / 0.7495 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.11e-05/1.295, allocations: 41.14 kB / 0.7495 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/1.295, allocations: 7.578 kB / 0.7495 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/1.296, allocations: 154.9 kB / 0.7497 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/1.296, allocations: 0.7276 MB / 0.7504 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/1.296, allocations: 0 / 0.7504 GB, free: 22.62 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)