Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.376/1.376, allocations: 289.8 MB / 297 MB, free: 6.66 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.001008/0.001008, allocations: 172.2 kB / 366.3 MB, free: 1.957 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.043/1.043, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0008391/0.0008391, allocations: 92.44 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1884/0.1893, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.6163, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.936/3.553, allocations: 2.073 GB / 3.045 GB, free: 3.414 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/3.553, allocations: 88.61 kB / 3.046 GB, free: 3.328 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.5141/4.067, allocations: 80.29 MB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/4.067, allocations: 8 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008344/4.068, allocations: 230.2 kB / 3.124 GB, free: 311.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008721/4.069, allocations: 0.7132 MB / 3.125 GB, free: 311.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/4.069, allocations: 36 kB / 3.125 GB, free: 311.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/4.069, allocations: 64 kB / 3.125 GB, free: 311.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001359/4.07, allocations: 1.109 MB / 3.126 GB, free: 310 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/4.072, allocations: 0.9139 MB / 3.127 GB, free: 309 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/4.072, allocations: 0 / 3.127 GB, free: 309 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/4.072, allocations: 11.92 kB / 3.127 GB, free: 309 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/4.072, allocations: 24 kB / 3.127 GB, free: 309 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/4.075, allocations: 2.828 MB / 3.13 GB, free: 306.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008029/4.076, allocations: 0.6804 MB / 3.13 GB, free: 305.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/4.076, allocations: 258.8 kB / 3.131 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.395e-05/4.076, allocations: 28.62 kB / 3.131 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/4.077, allocations: 398.1 kB / 3.131 GB, free: 304.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 1.854e-06/4.077, allocations: 0 / 3.131 GB, free: 304.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=78): time 0.001393/4.078, allocations: 0.6794 MB / 3.132 GB, free: 304 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/4.078, allocations: 240 kB / 3.132 GB, free: 303.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/4.079, allocations: 0.5543 MB / 3.133 GB, free: 303.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/4.079, allocations: 29.7 kB / 3.133 GB, free: 303.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/4.079, allocations: 407.5 kB / 3.133 GB, free: 302.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/4.079, allocations: 244.2 kB / 3.133 GB, free: 302.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/4.079, allocations: 0 / 3.133 GB, free: 302.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.632e-05/4.079, allocations: 386.8 kB / 3.134 GB, free: 302.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/4.079, allocations: 213.5 kB / 3.134 GB, free: 301.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/4.08, allocations: 315.5 kB / 3.134 GB, free: 301.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/4.08, allocations: 260.5 kB / 3.134 GB, free: 301.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/4.08, allocations: 0 / 3.134 GB, free: 301.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001314/4.082, allocations: 0.7055 MB / 3.135 GB, free: 300.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/4.082, allocations: 4 kB / 3.135 GB, free: 300.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/4.082, allocations: 0 / 3.135 GB, free: 300.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/4.082, allocations: 80.84 kB / 3.135 GB, free: 300.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/4.083, allocations: 151.8 kB / 3.135 GB, free: 300.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/4.084, allocations: 1.461 MB / 3.137 GB, free: 298.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/4.085, allocations: 75.39 kB / 3.137 GB, free: 298.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/4.085, allocations: 24.05 kB / 3.137 GB, free: 298.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0001469/4.085, allocations: 121.5 kB / 3.137 GB, free: 298.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.995e-05/4.085, allocations: 78.97 kB / 3.137 GB, free: 298.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/4.087, allocations: 0.9572 MB / 3.138 GB, free: 297.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/4.087, allocations: 8.109 kB / 3.138 GB, free: 297.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/4.087, allocations: 3.938 kB / 3.138 GB, free: 297.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/4.087, allocations: 7.984 kB / 3.138 GB, free: 297.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007273/4.088, allocations: 0.8335 MB / 3.139 GB, free: 296.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/4.088, allocations: 0 / 3.139 GB, free: 296.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/4.088, allocations: 151.8 kB / 3.139 GB, free: 296.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004974/4.089, allocations: 84.77 kB / 3.139 GB, free: 296.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/4.089, allocations: 15.98 kB / 3.139 GB, free: 296.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/4.09, allocations: 1.48 MB / 3.14 GB, free: 294.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/4.09, allocations: 0 / 3.14 GB, free: 294.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001307/4.092, allocations: 0.7879 MB / 3.141 GB, free: 293.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001416/4.093, allocations: 1.198 MB / 3.142 GB, free: 292.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/4.093, allocations: 287.9 kB / 3.143 GB, free: 292.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/4.093, allocations: 3.984 kB / 3.143 GB, free: 292.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/4.094, allocations: 52.02 kB / 3.143 GB, free: 292.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/4.094, allocations: 60.69 kB / 3.143 GB, free: 292.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/4.094, allocations: 31.98 kB / 3.143 GB, free: 292.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003993/4.095, allocations: 451.1 kB / 3.143 GB, free: 291.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001594/4.096, allocations: 422.6 kB / 3.144 GB, free: 291.4 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001256/4.097, allocations: 1.018 MB / 3.145 GB, free: 290.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001001/4.098, allocations: 0.6825 MB / 3.145 GB, free: 289.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/4.098, allocations: 4.125 kB / 3.145 GB, free: 289.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/4.099, allocations: 468.4 kB / 3.146 GB, free: 289.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008887/4.1, allocations: 217.9 kB / 3.146 GB, free: 289.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/4.103, allocations: 1.533 MB / 3.147 GB, free: 287.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006619/4.104, allocations: 1.206 MB / 3.149 GB, free: 286.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/4.104, allocations: 0 / 3.149 GB, free: 286.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)