Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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 9.1.1-maint.9.1.x/package.mo): time 1.971/1.971, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 189.2 kB / 487 MB, free: 5.348 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.3 MB / 0.7819 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000965/0.0009649, allocations: 99.28 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5238/0.5248, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.7563, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6752/1.432, allocations: 150.3 MB / 1.352 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/1.432, allocations: 79.62 kB / 1.352 GB, free: 15.85 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.01023/1.442, allocations: 3.037 MB / 1.355 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.442, allocations: 9.344 kB / 1.355 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/1.442, allocations: 7.719 kB / 1.355 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/1.442, allocations: 170.9 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/1.442, allocations: 1.844 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/1.442, allocations: 5.766 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.366e-05/1.443, allocations: 20.56 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/1.443, allocations: 59.03 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.443, allocations: 0 / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/1.443, allocations: 1.312 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.443, allocations: 6.531 kB / 1.355 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/1.443, allocations: 267.3 kB / 1.356 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.136e-05/1.443, allocations: 36.39 kB / 1.356 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/1.443, allocations: 22.7 kB / 1.356 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/1.443, allocations: 6.047 kB / 1.356 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.65e-05/1.443, allocations: 72.94 kB / 1.356 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/1.443, allocations: 0 / 1.356 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002182/1.444, allocations: 81.3 kB / 1.356 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/1.444, allocations: 56.53 kB / 1.356 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/1.444, allocations: 112.6 kB / 1.356 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/1.444, allocations: 27.2 kB / 1.356 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/1.444, allocations: 87.42 kB / 1.356 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/1.444, allocations: 23.69 kB / 1.356 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/1.444, allocations: 1.031 kB / 1.356 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.442e-05/1.444, allocations: 317.2 kB / 1.356 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/1.444, allocations: 13.16 kB / 1.356 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/1.444, allocations: 48.12 kB / 1.357 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/1.444, allocations: 26.66 kB / 1.357 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.444, allocations: 1.578 kB / 1.357 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000169/1.444, allocations: 84.61 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.444, allocations: 5.156 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.444, allocations: 2.188 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.444, allocations: 3.094 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/1.444, allocations: 21.08 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.444, allocations: 2.906 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/1.444, allocations: 10.41 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/1.445, allocations: 3.969 kB / 1.357 GB, free: 13.96 MB / 0.8073 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 6.704e-05/1.445, allocations: 110.3 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/1.445, allocations: 7.578 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/1.445, allocations: 10.27 kB / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.445, allocations: 1.672 kB / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/1.445, allocations: 1.625 kB / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/1.445, allocations: 4.516 kB / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/1.445, allocations: 320.3 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.445, allocations: 1.891 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/1.445, allocations: 6.188 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/1.445, allocations: 9.234 kB / 1.357 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/1.445, allocations: 6.438 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.445, allocations: 0 / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.445, allocations: 1.344 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001596/1.445, allocations: 182.4 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002031/1.445, allocations: 0.5399 MB / 1.358 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/1.446, allocations: 92.28 kB / 1.358 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/1.446, allocations: 1.516 kB / 1.358 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.446, allocations: 5.375 kB / 1.358 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/1.446, allocations: 5.422 kB / 1.358 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/1.446, allocations: 3.344 kB / 1.358 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.055e-05/1.446, allocations: 97.95 kB / 1.358 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008945/1.447, allocations: 50.25 kB / 1.358 GB, free: 12.71 MB / 0.8073 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.0003664/1.447, allocations: 171.1 kB / 1.358 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001482/1.447, allocations: 50.41 kB / 1.358 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.447, allocations: 0 / 1.358 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/1.447, allocations: 25.97 kB / 1.358 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/1.447, allocations: 17.38 kB / 1.358 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/1.448, allocations: 98.97 kB / 1.358 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/1.448, allocations: 0.7011 MB / 1.359 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of SimCode: time 2.21e-07/1.448, allocations: 5.031 kB / 1.359 GB, free: 11.82 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)