Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.903/1.903, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001057/0.001057, allocations: 181.3 kB / 487 MB, free: 5.359 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.215/1.215, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.0008888/0.0008888, allocations: 92.62 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4812/0.4821, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.7176, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5732/1.291, allocations: 150.5 MB / 1.352 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/1.291, allocations: 81.14 kB / 1.352 GB, free: 15.81 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.00896/1.3, allocations: 3.101 MB / 1.355 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/1.3, allocations: 9.031 kB / 1.355 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/1.3, allocations: 9.375 kB / 1.355 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.052e-05/1.3, allocations: 167.1 kB / 1.356 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/1.3, allocations: 3.188 kB / 1.356 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/1.3, allocations: 3.219 kB / 1.356 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.495e-05/1.3, allocations: 21.14 kB / 1.356 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.185e-05/1.3, allocations: 58.31 kB / 1.356 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/1.3, allocations: 3.938 kB / 1.356 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.3, allocations: 0.6562 kB / 1.356 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/1.301, allocations: 4.969 kB / 1.356 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/1.301, allocations: 276.3 kB / 1.356 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.725e-05/1.301, allocations: 36.23 kB / 1.356 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/1.301, allocations: 30.56 kB / 1.356 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/1.301, allocations: 12.84 kB / 1.356 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.021e-05/1.301, allocations: 66.83 kB / 1.356 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/1.301, allocations: 0 / 1.356 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001951/1.301, allocations: 79.36 kB / 1.356 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/1.301, allocations: 54.17 kB / 1.356 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.782e-05/1.301, allocations: 111.8 kB / 1.356 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/1.301, allocations: 27.64 kB / 1.356 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/1.301, allocations: 94.55 kB / 1.356 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/1.301, allocations: 12.41 kB / 1.356 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/1.302, allocations: 3.938 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.693e-05/1.302, allocations: 318.7 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/1.302, allocations: 17.33 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-05/1.302, allocations: 45.44 kB / 1.357 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/1.302, allocations: 25.56 kB / 1.357 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.302, allocations: 1.125 kB / 1.357 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001613/1.302, allocations: 92.3 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/1.302, allocations: 4.906 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.302, allocations: 1.062 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/1.302, allocations: 1.812 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/1.302, allocations: 17.14 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/1.302, allocations: 1.469 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/1.302, allocations: 14.33 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/1.302, allocations: 7.5 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: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.061e-05/1.302, allocations: 108.7 kB / 1.357 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/1.302, allocations: 7.406 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/1.302, allocations: 10.25 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.302, allocations: 2.359 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.302, allocations: 1.094 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.302, allocations: 7.938 kB / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/1.303, allocations: 319.1 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.303, allocations: 0 / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/1.303, allocations: 6.312 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.303, allocations: 3.938 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/1.303, allocations: 3 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.303, allocations: 3.906 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.303, allocations: 0.7188 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001479/1.303, allocations: 181.3 kB / 1.358 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001766/1.303, allocations: 0.5384 MB / 1.358 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/1.303, allocations: 84.83 kB / 1.358 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/1.303, allocations: 2.203 kB / 1.358 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/1.303, allocations: 9.344 kB / 1.358 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/1.303, allocations: 4.5 kB / 1.358 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/1.303, allocations: 8 kB / 1.358 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.953e-05/1.303, allocations: 97.28 kB / 1.358 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008631/1.304, allocations: 59.08 kB / 1.358 GB, free: 12.72 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.0003039/1.304, allocations: 158.9 kB / 1.358 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001326/1.305, allocations: 55.14 kB / 1.358 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/1.305, allocations: 0 / 1.358 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/1.305, allocations: 27.92 kB / 1.359 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/1.305, allocations: 13.2 kB / 1.359 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/1.305, allocations: 98.92 kB / 1.359 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/1.305, allocations: 0.7148 MB / 1.359 GB, free: 27.82 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/1.305, allocations: 0 / 1.359 GB, free: 27.82 MB / 0.823 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)