Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.00349/0.00349, allocations: 179.1 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7737/0.7737, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.748/1.748, allocations: 221.3 MB / 395 MB, free: 10.25 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.001404/0.001404, allocations: 93.34 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5678/0.5692, allocations: 88.42 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.8086, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6988/1.507, allocations: 110.9 MB / 0.7417 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.508, allocations: 69.31 kB / 0.7417 GB, free: 10.68 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01549/1.523, allocations: 5.177 MB / 0.7468 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.523, allocations: 7.688 kB / 0.7468 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/1.523, allocations: 16.02 kB / 0.7468 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/1.524, allocations: 212.6 kB / 0.747 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/1.524, allocations: 0.6562 kB / 0.747 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/1.524, allocations: 11.56 kB / 0.747 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001453/1.524, allocations: 44.42 kB / 0.7471 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/1.524, allocations: 102.2 kB / 0.7472 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.524, allocations: 0.6562 kB / 0.7472 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/1.524, allocations: 0 / 0.7472 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/1.524, allocations: 3.875 kB / 0.7472 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/1.525, allocations: 221.4 kB / 0.7474 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/1.525, allocations: 108 kB / 0.7475 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/1.525, allocations: 67.62 kB / 0.7475 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/1.525, allocations: 3.875 kB / 0.7475 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/1.525, allocations: 132.5 kB / 0.7477 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/1.525, allocations: 0 / 0.7477 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.0004491/1.526, allocations: 145.7 kB / 0.7478 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/1.526, allocations: 119 kB / 0.7479 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/1.526, allocations: 126.7 kB / 0.748 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/1.526, allocations: 30.25 kB / 0.7481 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/1.526, allocations: 97.62 kB / 0.7482 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/1.526, allocations: 51.3 kB / 0.7482 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/1.526, allocations: 0 / 0.7482 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.526, allocations: 330.5 kB / 0.7485 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/1.526, allocations: 46.3 kB / 0.7486 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/1.526, allocations: 197.2 kB / 0.7488 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/1.527, allocations: 73.14 kB / 0.7488 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.527, allocations: 0 / 0.7488 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003261/1.527, allocations: 196.6 kB / 0.749 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.527, allocations: 3.844 kB / 0.749 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/1.527, allocations: 8.922 kB / 0.749 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.527, allocations: 0.7969 kB / 0.749 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/1.527, allocations: 19.42 kB / 0.749 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.527, allocations: 0.5156 kB / 0.749 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/1.527, allocations: 48.64 kB / 0.7491 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/1.527, allocations: 8.922 kB / 0.7491 GB, free: 24.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001891/1.528, allocations: 127.2 kB / 0.7492 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/1.528, allocations: 15.44 kB / 0.7492 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/1.528, allocations: 15.58 kB / 0.7493 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.528, allocations: 8.516 kB / 0.7493 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.528, allocations: 0 / 0.7493 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/1.528, allocations: 3.719 kB / 0.7493 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/1.528, allocations: 183 kB / 0.7494 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.528, allocations: 0 / 0.7494 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/1.528, allocations: 13.05 kB / 0.7495 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.528, allocations: 0.6562 kB / 0.7495 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/1.528, allocations: 8.391 kB / 0.7495 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.528, allocations: 4.594 kB / 0.7495 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.528, allocations: 0 / 0.7495 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003049/1.528, allocations: 218.8 kB / 0.7497 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004294/1.529, allocations: 0.5938 MB / 0.7503 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/1.529, allocations: 85.66 kB / 0.7503 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/1.529, allocations: 4.312 kB / 0.7503 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.943e-05/1.529, allocations: 9.156 kB / 0.7503 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/1.529, allocations: 11.2 kB / 0.7504 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/1.529, allocations: 12.64 kB / 0.7504 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.121e-05/1.529, allocations: 103.4 kB / 0.7505 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001066/1.53, allocations: 114.8 kB / 0.7506 GB, free: 23.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003763/1.531, allocations: 211.5 kB / 0.7508 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003079/1.531, allocations: 206.7 kB / 0.751 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.531, allocations: 7.875 kB / 0.751 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/1.531, allocations: 46.42 kB / 0.751 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/1.531, allocations: 12.52 kB / 0.751 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/1.532, allocations: 176 kB / 0.7512 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/1.532, allocations: 0.7332 MB / 0.7519 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/1.532, allocations: 0 / 0.7519 GB, free: 22.22 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)