Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") [: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 8.1.4-maint.8.1.x/package.mo): time 1.454/1.454, allocations: 289.8 MB / 297 MB, free: 6.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 177.3 kB / 366.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 0.6256 GB, free: 5.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009244/0.0009244, allocations: 96.33 kB / 0.7396 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.406e-06/8.637e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5518/0.5518, allocations: 116.3 MB / 0.9725 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.7187, allocations: 140.1 MB / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.719, allocations: 79.88 kB / 1.109 GB, free: 8.359 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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: Performance of FrontEnd: time 0.008998/0.728, allocations: 2.552 MB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.7281, allocations: 4 kB / 1.112 GB, free: 5.816 MB / 0.7136 GB 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.0005505/0.7286, allocations: 429.7 kB / 1.112 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.7287, allocations: 8.031 kB / 1.112 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.7287, allocations: 7.906 kB / 1.112 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.7289, allocations: 178.8 kB / 1.113 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.7289, allocations: 8 kB / 1.113 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.729, allocations: 4 kB / 1.113 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.74e-05/0.7291, allocations: 23.98 kB / 1.113 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.7292, allocations: 56.14 kB / 1.113 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.7292, allocations: 4 kB / 1.113 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.7292, allocations: 0 / 1.113 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7292, allocations: 0 / 1.113 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.7297, allocations: 266.7 kB / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.086e-05/0.7298, allocations: 42.56 kB / 1.113 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.7299, allocations: 28.97 kB / 1.113 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.7299, allocations: 4 kB / 1.113 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.73, allocations: 67.39 kB / 1.113 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.73, allocations: 0 / 1.113 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002172/0.7302, allocations: 81.59 kB / 1.113 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.7303, allocations: 55.39 kB / 1.113 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.7304, allocations: 108.9 kB / 1.113 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.7304, allocations: 29.7 kB / 1.113 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.7305, allocations: 88.31 kB / 1.113 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.7305, allocations: 19.75 kB / 1.113 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.7305, allocations: 0 / 1.113 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.7306, allocations: 318.8 kB / 1.114 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.7306, allocations: 15.94 kB / 1.114 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.7307, allocations: 55.22 kB / 1.114 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.623e-05/0.7308, allocations: 15.98 kB / 1.114 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.7308, allocations: 4 kB / 1.114 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001569/0.7309, allocations: 89.45 kB / 1.114 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.731, allocations: 8.156 kB / 1.114 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.731, allocations: 4 kB / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.731, allocations: 4 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.778e-05/0.7311, allocations: 19.92 kB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.7311, allocations: 9.547 kB / 1.114 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.7312, allocations: 4 kB / 1.114 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.7312, allocations: 4 kB / 1.114 GB, free: 3.566 MB / 0.7136 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 8.001e-05/0.7313, allocations: 109 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.7313, allocations: 7.906 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.7314, allocations: 12.36 kB / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7314, allocations: 0 / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7314, allocations: 0 / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.7314, allocations: 7.906 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.7317, allocations: 315.1 kB / 1.114 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.7317, allocations: 0 / 1.114 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.7318, allocations: 8 kB / 1.114 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.7318, allocations: 3.906 kB / 1.114 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.7318, allocations: 7.984 kB / 1.114 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.7318, allocations: 0.9375 kB / 1.114 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7318, allocations: 0 / 1.114 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002033/0.732, allocations: 175.4 kB / 1.115 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.7321, allocations: 81.02 kB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.7321, allocations: 4 kB / 1.115 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.7322, allocations: 11.98 kB / 1.115 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.7323, allocations: 0 / 1.115 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.7323, allocations: 7.984 kB / 1.115 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.579e-05/0.7324, allocations: 93.52 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004183/0.7328, allocations: 51.92 kB / 1.115 GB, free: 2.602 MB / 0.7136 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.0005469/0.7334, allocations: 168.2 kB / 1.115 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.7336, allocations: 51.94 kB / 1.115 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7336, allocations: 0 / 1.115 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.7337, allocations: 31.92 kB / 1.115 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.7339, allocations: 14.11 kB / 1.115 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.7343, allocations: 106.4 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.7345, allocations: 0.6997 MB / 1.116 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.7345, allocations: 0 / 1.116 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of Templates: time 0.004272/0.7388, allocations: 1.623 MB / 1.117 GB, free: 15.9 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)