Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.0.0/package.mo): time 2.202/2.202, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001617/0.001617, allocations: 193.2 kB / 360.3 MB, free: 7.559 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.645/1.645, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001189/0.001188, allocations: 90.97 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2444/0.2456, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.557/0.8026, allocations: 115.2 MB / 0.9627 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.678/5.481, allocations: 2.075 GB / 3.038 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/5.481, allocations: 85.62 kB / 3.038 GB, free: 272.1 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.3827/5.864, allocations: 99.28 MB / 3.135 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/5.864, allocations: 11.98 kB / 3.135 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0251/5.889, allocations: 2.032 MB / 3.137 GB, free: 222.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/5.892, allocations: 1.033 MB / 3.138 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/5.892, allocations: 64 kB / 3.138 GB, free: 222 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005373/5.893, allocations: 108 kB / 3.138 GB, free: 221.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008287/5.901, allocations: 2.778 MB / 3.141 GB, free: 220 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006018/5.907, allocations: 2.087 MB / 3.143 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.629e-05/5.907, allocations: 0 / 3.143 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003826/5.907, allocations: 3.984 kB / 3.143 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/5.908, allocations: 44 kB / 3.143 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02288/5.93, allocations: 6.203 MB / 3.149 GB, free: 213.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/5.935, allocations: 1.837 MB / 3.151 GB, free: 212 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/5.938, allocations: 0.9896 MB / 3.152 GB, free: 211 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/5.939, allocations: 0.4955 MB / 3.152 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002956/5.942, allocations: 1.227 MB / 3.153 GB, free: 209.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=192): time 4.949e-06/5.942, allocations: 0 / 3.153 GB, free: 209.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=192): time 0.008238/5.95, allocations: 2.168 MB / 3.156 GB, free: 207 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/5.95, allocations: 257.3 kB / 3.156 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/5.952, allocations: 0.6646 MB / 3.156 GB, free: 206 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004154/5.952, allocations: 25.7 kB / 3.157 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/5.953, allocations: 0.5163 MB / 3.157 GB, free: 205.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006791/5.953, allocations: 0.6002 MB / 3.158 GB, free: 204.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/5.954, allocations: 0 / 3.158 GB, free: 204.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001099/5.954, allocations: 369.8 kB / 3.158 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/5.956, allocations: 0.746 MB / 3.159 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/5.958, allocations: 0.9285 MB / 3.16 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00365/5.962, allocations: 0.9819 MB / 3.161 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/5.962, allocations: 0 / 3.161 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008312/5.97, allocations: 2.207 MB / 3.163 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/5.97, allocations: 10.97 kB / 3.163 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/5.97, allocations: 3.938 kB / 3.163 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/5.972, allocations: 92.86 kB / 3.163 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007286/5.979, allocations: 0.55 MB / 3.163 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/5.982, allocations: 1.465 MB / 3.165 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005767/5.987, allocations: 286.6 kB / 3.165 GB, free: 197 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006451/5.988, allocations: 83.91 kB / 3.165 GB, free: 196.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 202 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006849/5.989, allocations: 136.4 kB / 3.165 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/5.989, allocations: 130.4 kB / 3.165 GB, free: 196.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/6.002, allocations: 2.835 MB / 3.168 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/6.002, allocations: 24 kB / 3.168 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/6.002, allocations: 4 kB / 3.168 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/6.002, allocations: 11.95 kB / 3.168 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/6.019, allocations: 4.754 MB / 3.173 GB, free: 189 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/6.019, allocations: 0 / 3.173 GB, free: 189 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007258/6.026, allocations: 0.5344 MB / 3.173 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/6.027, allocations: 92.77 kB / 3.173 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004924/6.027, allocations: 51.91 kB / 3.173 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002609/6.03, allocations: 1.48 MB / 3.175 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/6.03, allocations: 0 / 3.175 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008365/6.038, allocations: 2.348 MB / 3.177 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008242/6.047, allocations: 2.774 MB / 3.18 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/6.048, allocations: 0.5258 MB / 3.18 GB, free: 181 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005744/6.049, allocations: 8 kB / 3.18 GB, free: 181 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005268/6.054, allocations: 231.7 kB / 3.181 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/6.054, allocations: 105.8 kB / 3.181 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003449/6.055, allocations: 83.92 kB / 3.181 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001045/6.056, allocations: 0.5499 MB / 3.181 GB, free: 180 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003464/6.059, allocations: 0.6116 MB / 3.182 GB, free: 179.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002202/6.062, allocations: 1.042 MB / 3.183 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00578/6.067, allocations: 2.085 MB / 3.185 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/6.067, allocations: 0 / 3.185 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/6.07, allocations: 1.228 MB / 3.186 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/6.073, allocations: 230.8 kB / 3.186 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/6.084, allocations: 2.741 MB / 3.189 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003176/6.087, allocations: 1.613 MB / 3.191 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.172e-06/6.087, allocations: 3.938 kB / 3.191 GB, free: 170.5 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)