Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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 8.1.4-maint.8.1.x/package.mo): time 1.506/1.506, allocations: 289.8 MB / 297.1 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.001153/0.001153, allocations: 173.3 kB / 366.3 MB, free: 1.973 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.603/1.603, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0009091/0.000909, allocations: 92.47 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3009/0.3018, allocations: 122.4 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/1.039, allocations: 116.3 MB / 0.9726 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/1.215, allocations: 140.2 MB / 1.11 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/1.215, allocations: 85.42 kB / 1.11 GB, free: 8.16 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: 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.009064/1.224, allocations: 3.055 MB / 1.113 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/1.224, allocations: 8 kB / 1.113 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/1.224, allocations: 11.91 kB / 1.113 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/1.224, allocations: 169.4 kB / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/1.224, allocations: 0 / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/1.224, allocations: 4 kB / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.333e-05/1.224, allocations: 27.92 kB / 1.113 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/1.225, allocations: 61.66 kB / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/1.225, allocations: 0 / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/1.225, allocations: 0 / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/1.225, allocations: 0 / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/1.225, allocations: 277.3 kB / 1.113 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/1.225, allocations: 34.58 kB / 1.113 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/1.225, allocations: 28.97 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/1.225, allocations: 3.938 kB / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/1.225, allocations: 75.39 kB / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/1.225, allocations: 0 / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000243/1.226, allocations: 73.66 kB / 1.113 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/1.226, allocations: 55.41 kB / 1.113 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.142e-05/1.226, allocations: 115.2 kB / 1.113 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/1.226, allocations: 25.7 kB / 1.114 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/1.226, allocations: 88.31 kB / 1.114 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/1.226, allocations: 15.75 kB / 1.114 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/1.226, allocations: 4 kB / 1.114 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.226, allocations: 322.8 kB / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/1.226, allocations: 19.94 kB / 1.114 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.675e-05/1.226, allocations: 42.52 kB / 1.114 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/1.226, allocations: 18.41 kB / 1.114 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.226, allocations: 0 / 1.114 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001693/1.226, allocations: 103 kB / 1.114 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.226, allocations: 4 kB / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.226, allocations: 0 / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.226, allocations: 0 / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/1.227, allocations: 12 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.227, allocations: 3.984 kB / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.043e-05/1.227, allocations: 7.906 kB / 1.114 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/1.227, allocations: 8 kB / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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.866e-05/1.227, allocations: 110.8 kB / 1.114 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/1.227, allocations: 11.84 kB / 1.114 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/1.227, allocations: 12.36 kB / 1.114 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.227, allocations: 0 / 1.114 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.227, allocations: 0 / 1.114 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.227, allocations: 4 kB / 1.114 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/1.227, allocations: 315 kB / 1.115 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.227, allocations: 4 kB / 1.115 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/1.227, allocations: 4.938 kB / 1.115 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.487e-05/1.227, allocations: 4 kB / 1.115 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/1.227, allocations: 3.984 kB / 1.115 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.227, allocations: 3.906 kB / 1.115 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.227, allocations: 0 / 1.115 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001799/1.227, allocations: 179.4 kB / 1.115 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002815/1.228, allocations: 0.549 MB / 1.115 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/1.228, allocations: 85.02 kB / 1.115 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/1.228, allocations: 3.984 kB / 1.115 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/1.228, allocations: 7.984 kB / 1.115 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/1.228, allocations: 4.938 kB / 1.115 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/1.228, allocations: 7.938 kB / 1.115 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.839e-05/1.228, allocations: 91.27 kB / 1.115 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009931/1.229, allocations: 59.83 kB / 1.116 GB, free: 1.77 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.0003447/1.229, allocations: 171.6 kB / 1.116 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001452/1.23, allocations: 48.06 kB / 1.116 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.23, allocations: 3.938 kB / 1.116 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.412e-05/1.23, allocations: 31.98 kB / 1.116 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/1.23, allocations: 5.031 kB / 1.116 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/1.23, allocations: 91.81 kB / 1.116 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/1.231, allocations: 0.7036 MB / 1.117 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/1.231, allocations: 0 / 1.117 GB, free: 0.6836 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)