Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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 7.0.3-maint.7.0.x/package.mo): time 1.262/1.262, allocations: 249.4 MB / 256.7 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009467/0.0009467, allocations: 185.2 kB / 316 MB, free: 3.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008513/0.0008513, allocations: 90.86 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3367/0.3376, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.5025, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.9884, allocations: 133.9 MB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.9887, allocations: 76.77 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.008577/0.9973, allocations: 2.978 MB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.9974, allocations: 13.03 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.9974, allocations: 7.906 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.9975, allocations: 174.9 kB / 1.019 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.9975, allocations: 0 / 1.019 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.9976, allocations: 4 kB / 1.019 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.248e-05/0.9976, allocations: 27.56 kB / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.202e-05/0.9977, allocations: 59.97 kB / 1.019 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.9978, allocations: 0 / 1.019 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.9978, allocations: 3.906 kB / 1.019 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.9978, allocations: 4 kB / 1.019 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.9982, allocations: 266.4 kB / 1.019 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.605e-05/0.9982, allocations: 48.08 kB / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.9983, allocations: 23.67 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.9983, allocations: 3.984 kB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.888e-05/0.9984, allocations: 65.33 kB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.9984, allocations: 0 / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001665/0.9986, allocations: 71.47 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.9986, allocations: 62.34 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/0.9987, allocations: 112.4 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.9987, allocations: 29.7 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.9987, allocations: 84.31 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.9988, allocations: 23.06 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.9988, allocations: 0 / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.9989, allocations: 322.5 kB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.9989, allocations: 14.5 kB / 1.02 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.999, allocations: 52.39 kB / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.999, allocations: 19.92 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.999, allocations: 0 / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001259/0.9991, allocations: 91.53 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.9991, allocations: 7.984 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.9992, allocations: 0 / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.9992, allocations: 4 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.9993, allocations: 12 kB / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.9993, allocations: 8.422 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.9993, allocations: 7.984 kB / 1.02 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.9994, allocations: 10.95 kB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 7.438e-05/0.9994, allocations: 115.5 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.9995, allocations: 7.906 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.9995, allocations: 7.562 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.9995, allocations: 4 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9995, allocations: 3.984 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9995, allocations: 0 / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.9998, allocations: 318.9 kB / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9998, allocations: 4 kB / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.9999, allocations: 4 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.9999, allocations: 4 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.9999, allocations: 3.984 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9999, allocations: 0 / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9999, allocations: 1.625 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001473/1, allocations: 174.6 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002438/1, allocations: 0.5522 MB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/1, allocations: 81.02 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/1, allocations: 4 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/1, allocations: 11.92 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/1.001, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/1.001, allocations: 10.81 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.012e-05/1.001, allocations: 92.02 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008364/1.001, allocations: 54.12 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003015/1.002, allocations: 164 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001163/1.002, allocations: 54.38 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.002, allocations: 3.938 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/1.002, allocations: 30.48 kB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/1.002, allocations: 11.91 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/1.002, allocations: 101.8 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/1.003, allocations: 0.6997 MB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of SimCode: time 2.91e-07/1.003, allocations: 128 / 1.022 GB, free: 14.06 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)