Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.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 1.6.0+build.1/package.mo): time 0.5683/0.5683, allocations: 94.73 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001088/0.001087, allocations: 175.3 kB / 125.3 MB, free: 12.02 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.16/1.16, allocations: 170.5 MB / 319 MB, free: 9.43 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00166/0.00166, allocations: 111.4 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.065e-06/8.165e-06, allocations: 0 / 448.6 MB, free: 2.148 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1461, allocations: 61.52 MB / 0.4981 GB, free: 4.531 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.02/11.16, allocations: 4.478 GB / 4.976 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/11.16, allocations: 84.89 kB / 4.976 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.2048/11.37, allocations: 98.85 MB / 5.073 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001333/11.37, allocations: 31.94 kB / 5.073 GB, free: 54.59 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.003768/11.37, allocations: 1.404 MB / 5.074 GB, free: 53.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/11.37, allocations: 12.03 kB / 5.074 GB, free: 53.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/11.37, allocations: 158.4 kB / 5.074 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/11.38, allocations: 0.6173 MB / 5.075 GB, free: 52.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/11.38, allocations: 36 kB / 5.075 GB, free: 52.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/11.38, allocations: 64 kB / 5.075 GB, free: 52.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002071/11.38, allocations: 1.097 MB / 5.076 GB, free: 51.06 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/11.38, allocations: 0.8746 MB / 5.077 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/11.38, allocations: 0 / 5.077 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/11.38, allocations: 4 kB / 5.077 GB, free: 50.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/11.38, allocations: 24 kB / 5.077 GB, free: 50.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003743/11.38, allocations: 2.66 MB / 5.079 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/11.38, allocations: 0.6347 MB / 5.08 GB, free: 46.74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/11.38, allocations: 246.8 kB / 5.08 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/11.39, allocations: 2.024 MB / 5.082 GB, free: 44.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004871/11.39, allocations: 379 kB / 5.083 GB, free: 43.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=75): time 3.366e-06/11.39, allocations: 4 kB / 5.083 GB, free: 43.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75): time 0.002141/11.39, allocations: 0.7263 MB / 5.083 GB, free: 42.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/11.39, allocations: 222.2 kB / 5.084 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/11.39, allocations: 475 kB / 5.084 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/11.39, allocations: 33.64 kB / 5.084 GB, free: 42.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/11.39, allocations: 391.6 kB / 5.084 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/11.39, allocations: 236.5 kB / 5.085 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/11.39, allocations: 0 / 5.085 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001026/11.39, allocations: 366.8 kB / 5.085 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/11.39, allocations: 209.4 kB / 5.085 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/11.39, allocations: 288.6 kB / 5.085 GB, free: 40.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009644/11.39, allocations: 351 kB / 5.086 GB, free: 40.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/11.39, allocations: 3.938 kB / 5.086 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001928/11.39, allocations: 0.8045 MB / 5.087 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/11.39, allocations: 9.781 kB / 5.087 GB, free: 39.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/11.39, allocations: 4 kB / 5.087 GB, free: 39.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/11.39, allocations: 76.8 kB / 5.087 GB, free: 39.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/11.39, allocations: 123.8 kB / 5.087 GB, free: 39.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/11.4, allocations: 1.36 MB / 5.088 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/11.4, allocations: 51.55 kB / 5.088 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/11.4, allocations: 27.98 kB / 5.088 GB, free: 37.67 MB / 0.5261 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 6 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001942/11.4, allocations: 181.4 kB / 5.088 GB, free: 37.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/11.4, allocations: 71.16 kB / 5.088 GB, free: 37.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/11.4, allocations: 1.006 MB / 5.089 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/11.4, allocations: 12 kB / 5.089 GB, free: 36.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/11.4, allocations: 3.938 kB / 5.089 GB, free: 36.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/11.4, allocations: 7.922 kB / 5.089 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009363/11.4, allocations: 0.7634 MB / 5.09 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/11.4, allocations: 4 kB / 5.09 GB, free: 35.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/11.4, allocations: 123.9 kB / 5.09 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/11.4, allocations: 80.72 kB / 5.09 GB, free: 35.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/11.4, allocations: 23.98 kB / 5.09 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/11.4, allocations: 1.367 MB / 5.092 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/11.4, allocations: 8.062 kB / 5.092 GB, free: 33.83 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001873/11.4, allocations: 0.8457 MB / 5.093 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/11.4, allocations: 279.9 kB / 5.093 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/11.4, allocations: 8 kB / 5.093 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/11.41, allocations: 31.91 kB / 5.093 GB, free: 32.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/11.41, allocations: 44.72 kB / 5.093 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/11.41, allocations: 31.98 kB / 5.093 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004374/11.41, allocations: 370.9 kB / 5.093 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001433/11.41, allocations: 398.7 kB / 5.094 GB, free: 31.8 MB / 0.5261 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 2 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/11.41, allocations: 0.6292 MB / 5.094 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001421/11.41, allocations: 0.8404 MB / 5.095 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/11.41, allocations: 3.938 kB / 5.095 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006857/11.41, allocations: 0.4938 MB / 5.096 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007803/11.41, allocations: 141.8 kB / 5.096 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/11.42, allocations: 1.256 MB / 5.097 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009612/11.42, allocations: 1.151 MB / 5.098 GB, free: 27.28 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/11.42, allocations: 4 kB / 5.098 GB, free: 27.28 MB / 0.5261 GB Notification: Performance of Templates: time 0.02475/11.44, allocations: 12.7 MB / 5.111 GB, free: 14.69 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)