Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [: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.352/1.352, allocations: 289.8 MB / 297.1 MB, free: 6.578 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.001174/0.001174, allocations: 176.3 kB / 366.3 MB, free: 1.93 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.189/1.189, allocations: 205.2 MB / 0.6256 GB, free: 5.863 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.0009188/0.0009186, allocations: 90.89 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.322e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4868, allocations: 116.3 MB / 0.9726 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.012/3.499, allocations: 2.072 GB / 3.045 GB, free: 3.289 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/3.5, allocations: 100.4 kB / 3.045 GB, free: 3.191 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.429/3.929, allocations: 58.16 MB / 3.102 GB, free: 334.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.916e-05/3.929, allocations: 27.94 kB / 3.102 GB, free: 334.1 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.001819/3.931, allocations: 1.058 MB / 3.103 GB, free: 333 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/3.931, allocations: 11.97 kB / 3.103 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/3.932, allocations: 198.6 kB / 3.103 GB, free: 332.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/3.933, allocations: 0.5997 MB / 3.103 GB, free: 332.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/3.933, allocations: 27.94 kB / 3.104 GB, free: 332.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/3.933, allocations: 47.94 kB / 3.104 GB, free: 332 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001419/3.935, allocations: 0.9679 MB / 3.105 GB, free: 331.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/3.936, allocations: 0.696 MB / 3.105 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/3.936, allocations: 0 / 3.105 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.941e-05/3.936, allocations: 0 / 3.105 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/3.936, allocations: 21.5 kB / 3.105 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/3.939, allocations: 2.235 MB / 3.107 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/3.94, allocations: 0.627 MB / 3.108 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/3.94, allocations: 234.8 kB / 3.108 GB, free: 327.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.864e-05/3.94, allocations: 32.77 kB / 3.108 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/3.941, allocations: 370 kB / 3.109 GB, free: 326.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 2.565e-06/3.941, allocations: 0 / 3.109 GB, free: 326.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.001399/3.942, allocations: 0.6248 MB / 3.109 GB, free: 326.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/3.942, allocations: 244 kB / 3.109 GB, free: 325.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/3.943, allocations: 0.4945 MB / 3.11 GB, free: 325.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/3.943, allocations: 25.7 kB / 3.11 GB, free: 325.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/3.943, allocations: 293.4 kB / 3.11 GB, free: 325 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/3.943, allocations: 220.7 kB / 3.11 GB, free: 324.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/3.943, allocations: 0 / 3.11 GB, free: 324.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.002e-05/3.943, allocations: 382.7 kB / 3.111 GB, free: 324.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/3.943, allocations: 185.3 kB / 3.111 GB, free: 324.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/3.944, allocations: 286.4 kB / 3.111 GB, free: 323.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/3.944, allocations: 235.1 kB / 3.111 GB, free: 323.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/3.944, allocations: 3.938 kB / 3.111 GB, free: 323.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001232/3.945, allocations: 0.6404 MB / 3.112 GB, free: 323 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/3.945, allocations: 4 kB / 3.112 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/3.945, allocations: 4 kB / 3.112 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/3.946, allocations: 76.84 kB / 3.112 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/3.946, allocations: 139.8 kB / 3.112 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/3.948, allocations: 1.454 MB / 3.114 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/3.948, allocations: 63.53 kB / 3.114 GB, free: 321.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/3.949, allocations: 32.05 kB / 3.114 GB, free: 321.1 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 (74): * Single equations (assignments): 73 * 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.0001327/3.949, allocations: 118.1 kB / 3.114 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/3.949, allocations: 79.05 kB / 3.114 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/3.951, allocations: 0.8856 MB / 3.115 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/3.951, allocations: 8 kB / 3.115 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/3.951, allocations: 7.984 kB / 3.115 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/3.951, allocations: 4.641 kB / 3.115 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/3.951, allocations: 0.7204 MB / 3.116 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/3.951, allocations: 0 / 3.116 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/3.952, allocations: 139.8 kB / 3.116 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004713/3.952, allocations: 80.78 kB / 3.116 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/3.952, allocations: 15.98 kB / 3.116 GB, free: 319 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/3.954, allocations: 1.48 MB / 3.117 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/3.954, allocations: 7.844 kB / 3.117 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00119/3.955, allocations: 0.7334 MB / 3.118 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/3.955, allocations: 271.8 kB / 3.118 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/3.955, allocations: 4 kB / 3.118 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/3.956, allocations: 59.94 kB / 3.118 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/3.956, allocations: 44.7 kB / 3.118 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/3.956, allocations: 31.98 kB / 3.118 GB, free: 316.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003487/3.956, allocations: 402.9 kB / 3.119 GB, free: 315.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007869/3.957, allocations: 303.1 kB / 3.119 GB, free: 315.5 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 (82): * Single equations (assignments): 79 * 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.001257/3.958, allocations: 1.005 MB / 3.12 GB, free: 314.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008989/3.959, allocations: 0.6388 MB / 3.121 GB, free: 313.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/3.959, allocations: 0 / 3.121 GB, free: 313.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005321/3.96, allocations: 432.8 kB / 3.121 GB, free: 313.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008332/3.961, allocations: 222.1 kB / 3.121 GB, free: 313.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/3.964, allocations: 1.295 MB / 3.123 GB, free: 312 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006191/3.964, allocations: 1.115 MB / 3.124 GB, free: 310.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/3.964, allocations: 0 / 3.124 GB, free: 310.8 MB / 0.948 GB Notification: Performance of Templates: time 0.02194/3.986, allocations: 16.19 MB / 3.139 GB, free: 294.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)