Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7496/0.7496, allocations: 141.8 MB / 149.1 MB, free: 11.45 MB / 139.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 185.3 kB / 181.9 MB, free: 8.227 MB / 155.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.3 MB / 436 MB, free: 432 kB / 331.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 102.9 kB / 0.507 GB, free: 17.77 MB / 379.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 267.9 kB / 0.5885 GB, free: 2.219 MB / 443.1 MB Notification: Performance of FrontEnd - loaded program: time 8.225e-06/8.245e-06, allocations: 0 / 0.6759 GB, free: 136.5 MB / 0.5109 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1985, allocations: 82.78 MB / 0.7567 GB, free: 80.89 MB / 0.5109 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.362/3.561, allocations: 1.691 GB / 2.448 GB, free: 127.5 MB / 0.714 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/3.561, allocations: 85.88 kB / 2.448 GB, free: 127.4 MB / 0.714 GB Notification: Performance of FrontEnd: time 0.1661/3.727, allocations: 80.97 MB / 2.527 GB, free: 46.15 MB / 0.714 GB Notification: Performance of Transformations before backend: time 0.0001043/3.727, allocations: 32 kB / 2.527 GB, free: 46.12 MB / 0.714 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002679/3.73, allocations: 1.316 MB / 2.528 GB, free: 44.75 MB / 0.714 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/3.73, allocations: 8.031 kB / 2.528 GB, free: 44.74 MB / 0.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/3.731, allocations: 230.1 kB / 2.529 GB, free: 44.52 MB / 0.714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/3.733, allocations: 0.7094 MB / 2.529 GB, free: 43.77 MB / 0.714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.057e-05/3.733, allocations: 47.89 kB / 2.529 GB, free: 43.72 MB / 0.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/3.733, allocations: 68 kB / 2.529 GB, free: 43.65 MB / 0.714 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001807/3.735, allocations: 1.117 MB / 2.531 GB, free: 42.53 MB / 0.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/3.737, allocations: 0.9303 MB / 2.531 GB, free: 41.54 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/3.737, allocations: 0 / 2.531 GB, free: 41.54 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-05/3.737, allocations: 4 kB / 2.531 GB, free: 41.54 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/3.737, allocations: 28 kB / 2.531 GB, free: 41.51 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/3.741, allocations: 2.863 MB / 2.534 GB, free: 38.58 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/3.742, allocations: 0.6844 MB / 2.535 GB, free: 37.89 MB / 0.714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/3.743, allocations: 258.8 kB / 2.535 GB, free: 37.63 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 8.633e-05/3.743, allocations: 28.61 kB / 2.535 GB, free: 37.61 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004687/3.743, allocations: 398.1 kB / 2.536 GB, free: 37.2 MB / 0.714 GB Notification: Performance of pre-optimization done (n=78): time 2.866e-06/3.743, allocations: 4 kB / 2.536 GB, free: 37.19 MB / 0.714 GB Notification: Performance of matching and sorting (n=78): time 0.00153/3.745, allocations: 0.6716 MB / 2.536 GB, free: 36.51 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/3.745, allocations: 247.9 kB / 2.536 GB, free: 36.21 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/3.746, allocations: 0.5544 MB / 2.537 GB, free: 35.66 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/3.746, allocations: 29.8 kB / 2.537 GB, free: 35.62 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/3.746, allocations: 423.3 kB / 2.537 GB, free: 35.2 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/3.746, allocations: 244.3 kB / 2.538 GB, free: 34.96 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/3.746, allocations: 0 / 2.538 GB, free: 34.96 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 8.187e-05/3.746, allocations: 382.8 kB / 2.538 GB, free: 34.57 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/3.746, allocations: 205.5 kB / 2.538 GB, free: 34.38 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/3.747, allocations: 319.5 kB / 2.539 GB, free: 34.03 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/3.747, allocations: 260.4 kB / 2.539 GB, free: 33.78 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/3.747, allocations: 3.906 kB / 2.539 GB, free: 33.77 MB / 0.714 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001364/3.748, allocations: 0.7055 MB / 2.54 GB, free: 33.06 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/3.748, allocations: 7.125 kB / 2.54 GB, free: 33.05 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/3.748, allocations: 0 / 2.54 GB, free: 33.05 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/3.749, allocations: 84.84 kB / 2.54 GB, free: 32.97 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/3.75, allocations: 151.8 kB / 2.54 GB, free: 32.82 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/3.751, allocations: 1.462 MB / 2.541 GB, free: 31.23 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/3.752, allocations: 71.5 kB / 2.541 GB, free: 31.16 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/3.752, allocations: 27.98 kB / 2.541 GB, free: 31.13 MB / 0.714 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.0001367/3.752, allocations: 116.9 kB / 2.541 GB, free: 31.01 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/3.752, allocations: 86.97 kB / 2.541 GB, free: 30.93 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/3.754, allocations: 0.9456 MB / 2.542 GB, free: 29.96 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/3.754, allocations: 8 kB / 2.542 GB, free: 29.96 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/3.754, allocations: 0 / 2.542 GB, free: 29.96 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/3.754, allocations: 3.984 kB / 2.542 GB, free: 29.95 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/3.755, allocations: 0.8498 MB / 2.543 GB, free: 29.07 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/3.755, allocations: 0 / 2.543 GB, free: 29.07 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/3.756, allocations: 159.8 kB / 2.543 GB, free: 28.91 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000495/3.756, allocations: 80.78 kB / 2.543 GB, free: 28.83 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/3.756, allocations: 19.92 kB / 2.543 GB, free: 28.81 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/3.758, allocations: 1.469 MB / 2.545 GB, free: 27.22 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/3.758, allocations: 0 / 2.545 GB, free: 27.22 MB / 0.714 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00135/3.759, allocations: 0.7917 MB / 2.546 GB, free: 26.4 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/3.759, allocations: 291.7 kB / 2.546 GB, free: 26.1 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/3.759, allocations: 0 / 2.546 GB, free: 26.1 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/3.76, allocations: 63.88 kB / 2.546 GB, free: 26.04 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/3.76, allocations: 52.7 kB / 2.546 GB, free: 25.98 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/3.76, allocations: 27.98 kB / 2.546 GB, free: 25.96 MB / 0.714 GB Notification: Performance of sort global known variables: time 0.0004121/3.761, allocations: 455.1 kB / 2.547 GB, free: 25.52 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.001059/3.762, allocations: 378.5 kB / 2.547 GB, free: 25.14 MB / 0.714 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.001546/3.763, allocations: 1.049 MB / 2.548 GB, free: 24.2 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.001026/3.764, allocations: 0.6863 MB / 2.549 GB, free: 23.5 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/3.764, allocations: 128 / 2.549 GB, free: 23.5 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.000603/3.765, allocations: 464.6 kB / 2.549 GB, free: 23.04 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/3.766, allocations: 225.2 kB / 2.549 GB, free: 22.83 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/3.769, allocations: 1.545 MB / 2.551 GB, free: 21.25 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/3.77, allocations: 1.213 MB / 2.552 GB, free: 20.01 MB / 0.714 GB Notification: Performance of SimCode: time 3.2e-07/3.77, allocations: 0 / 2.552 GB, free: 20.01 MB / 0.714 GB Notification: Performance of Templates: time 0.02521/3.795, allocations: 17.35 MB / 2.569 GB, free: 2.738 MB / 0.714 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)