Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.231/1.231, allocations: 249.4 MB / 256.7 MB, free: 7.047 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.0009257/0.0009258, allocations: 189.2 kB / 316 MB, free: 3.578 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.151/1.151, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008402/0.0008406, allocations: 90.81 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3618/0.3627, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.5418, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5089/1.051, allocations: 134 MB / 1.016 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.051, allocations: 80.39 kB / 1.016 GB, free: 4.891 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.009144/1.06, allocations: 3.174 MB / 1.019 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/1.06, allocations: 8 kB / 1.019 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/1.06, allocations: 11.91 kB / 1.019 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/1.06, allocations: 174.9 kB / 1.019 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/1.06, allocations: 0 / 1.019 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/1.061, allocations: 7.938 kB / 1.019 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.864e-05/1.061, allocations: 29.94 kB / 1.019 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/1.061, allocations: 83.52 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/1.061, allocations: 8 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/1.061, allocations: 3.984 kB / 1.019 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/1.061, allocations: 0 / 1.019 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/1.061, allocations: 284.2 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/1.061, allocations: 55.92 kB / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/1.061, allocations: 34.73 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/1.061, allocations: 4 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/1.062, allocations: 80.78 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/1.062, allocations: 0 / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002685/1.062, allocations: 105.3 kB / 1.02 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/1.062, allocations: 59.39 kB / 1.02 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/1.062, allocations: 110.6 kB / 1.02 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/1.062, allocations: 33.7 kB / 1.02 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/1.062, allocations: 87.8 kB / 1.02 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/1.062, allocations: 23.16 kB / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/1.062, allocations: 0 / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/1.062, allocations: 322 kB / 1.02 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/1.062, allocations: 18 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/1.062, allocations: 63.66 kB / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/1.062, allocations: 26.55 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.062, allocations: 4 kB / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001569/1.063, allocations: 106.9 kB / 1.02 GB, free: 412 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/1.063, allocations: 8.156 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.063, allocations: 4.75 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/1.063, allocations: 0 / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/1.063, allocations: 19.3 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.063, allocations: 7.906 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/1.063, allocations: 4 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/1.063, allocations: 8.094 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.876e-05/1.063, allocations: 120.8 kB / 1.021 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/1.063, allocations: 7.906 kB / 1.021 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/1.063, allocations: 16.7 kB / 1.021 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.063, allocations: 0 / 1.021 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.063, allocations: 7.938 kB / 1.021 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.063, allocations: 0 / 1.021 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/1.063, allocations: 356.9 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.063, allocations: 4 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/1.064, allocations: 8 kB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.064, allocations: 0 / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/1.064, allocations: 3.984 kB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.064, allocations: 4 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.064, allocations: 0 / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002144/1.064, allocations: 198.7 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003303/1.064, allocations: 0.5727 MB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/1.064, allocations: 81.02 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/1.064, allocations: 7.812 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/1.064, allocations: 7.984 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/1.064, allocations: 96 / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/1.064, allocations: 11.97 kB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.03e-05/1.064, allocations: 102.2 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008294/1.065, allocations: 59.52 kB / 1.022 GB, free: 14.8 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003316/1.066, allocations: 165.2 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001464/1.066, allocations: 69.67 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/1.066, allocations: 4 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/1.066, allocations: 44.86 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/1.066, allocations: 19.22 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/1.066, allocations: 114.9 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/1.067, allocations: 0.7036 MB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/1.067, allocations: 4 kB / 1.023 GB, free: 13.69 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)