Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",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 2.023/2.023, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.00107/0.001069, allocations: 169.3 kB / 487 MB, free: 5.371 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.267/1.267, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.0008803/0.0008803, allocations: 90.69 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.522/0.5229, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.7634, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7022/1.466, allocations: 150.4 MB / 1.352 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/1.466, allocations: 78.47 kB / 1.352 GB, free: 15.71 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.009604/1.476, allocations: 3.098 MB / 1.355 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.476, allocations: 10.02 kB / 1.355 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/1.476, allocations: 7.594 kB / 1.355 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.276e-05/1.476, allocations: 172.2 kB / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/1.476, allocations: 2.125 kB / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/1.476, allocations: 7.609 kB / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.192e-05/1.476, allocations: 20.3 kB / 1.356 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.926e-05/1.476, allocations: 59.34 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.476, allocations: 0.75 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.476, allocations: 1.125 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.476, allocations: 0.9062 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/1.476, allocations: 283.2 kB / 1.356 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.83e-05/1.476, allocations: 35.75 kB / 1.356 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/1.477, allocations: 28.8 kB / 1.356 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/1.477, allocations: 2 kB / 1.356 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.309e-05/1.477, allocations: 69.58 kB / 1.356 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/1.477, allocations: 4 kB / 1.356 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002118/1.477, allocations: 78.83 kB / 1.356 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/1.477, allocations: 57.33 kB / 1.356 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/1.477, allocations: 113 kB / 1.356 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/1.477, allocations: 26.41 kB / 1.356 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/1.477, allocations: 91.72 kB / 1.356 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/1.477, allocations: 18.11 kB / 1.356 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/1.477, allocations: 0 / 1.356 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.898e-05/1.477, allocations: 321.3 kB / 1.357 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.814e-05/1.477, allocations: 16.19 kB / 1.357 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-05/1.477, allocations: 36.39 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.213e-05/1.477, allocations: 25.17 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.477, allocations: 0 / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001623/1.477, allocations: 94.42 kB / 1.357 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.477, allocations: 5.094 kB / 1.357 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/1.478, allocations: 8.656 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/1.478, allocations: 1.594 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/1.478, allocations: 12.67 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.478, allocations: 1.906 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/1.478, allocations: 10 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/1.478, allocations: 11.47 kB / 1.357 GB, free: 13.87 MB / 0.8073 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 5.309e-05/1.478, allocations: 108.7 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/1.478, allocations: 7.375 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/1.478, allocations: 10.67 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/1.478, allocations: 1.438 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.478, allocations: 3.938 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.478, allocations: 1.844 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/1.478, allocations: 319.4 kB / 1.357 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.478, allocations: 0 / 1.357 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/1.478, allocations: 10.3 kB / 1.357 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.478, allocations: 0.8125 kB / 1.357 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/1.478, allocations: 2.375 kB / 1.357 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.478, allocations: 4.594 kB / 1.357 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.478, allocations: 0 / 1.357 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001619/1.478, allocations: 175.2 kB / 1.357 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002047/1.479, allocations: 0.5494 MB / 1.358 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/1.479, allocations: 83.45 kB / 1.358 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/1.479, allocations: 5.922 kB / 1.358 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/1.479, allocations: 5.719 kB / 1.358 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/1.479, allocations: 5.266 kB / 1.358 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/1.479, allocations: 1.969 kB / 1.358 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.36e-05/1.479, allocations: 94.48 kB / 1.358 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009499/1.48, allocations: 62.84 kB / 1.358 GB, free: 12.63 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 (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.0003302/1.48, allocations: 162.9 kB / 1.358 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001507/1.48, allocations: 54.17 kB / 1.358 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/1.48, allocations: 0 / 1.358 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.428e-05/1.48, allocations: 33.83 kB / 1.358 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/1.481, allocations: 7.641 kB / 1.359 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/1.481, allocations: 99.09 kB / 1.359 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/1.481, allocations: 0.7062 MB / 1.359 GB, free: 27.75 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/1.481, allocations: 0 / 1.359 GB, free: 27.75 MB / 0.823 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)