Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [: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.6872/0.6872, allocations: 141.8 MB / 149.1 MB, free: 13.28 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 190.3 kB / 181.9 MB, free: 9.945 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 221.3 MB / 436 MB, free: 2.516 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00094/0.00094, allocations: 95.83 kB / 0.507 GB, free: 17.73 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 284.3 kB / 0.5885 GB, free: 3.949 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.063e-06, allocations: 1.188 kB / 0.6759 GB, free: 136.8 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1934, allocations: 82.76 MB / 0.7567 GB, free: 83.52 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.187/4.381, allocations: 1.692 GB / 2.449 GB, free: 84.54 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/4.381, allocations: 85.58 kB / 2.449 GB, free: 84.5 MB / 0.7138 GB Notification: Performance of FrontEnd: time 0.5775/4.958, allocations: 94.77 MB / 2.541 GB, free: 235.8 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 8.901e-05/4.959, allocations: 34.28 kB / 2.541 GB, free: 235.8 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002531/4.961, allocations: 1.444 MB / 2.543 GB, free: 235.1 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/4.961, allocations: 10.12 kB / 2.543 GB, free: 235.1 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/4.962, allocations: 256.2 kB / 2.543 GB, free: 235.1 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/4.964, allocations: 0.7754 MB / 2.544 GB, free: 234.8 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/4.964, allocations: 54.2 kB / 2.544 GB, free: 234.8 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/4.964, allocations: 78.12 kB / 2.544 GB, free: 234.8 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002021/4.966, allocations: 1.381 MB / 2.545 GB, free: 234.8 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/4.968, allocations: 1.183 MB / 2.546 GB, free: 234.6 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/4.968, allocations: 3.562 kB / 2.546 GB, free: 234.6 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.364e-05/4.968, allocations: 0 / 2.546 GB, free: 234.6 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/4.968, allocations: 39.06 kB / 2.546 GB, free: 234.6 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005903/4.974, allocations: 3.947 MB / 2.55 GB, free: 233.3 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/4.975, allocations: 0.8572 MB / 2.551 GB, free: 233.3 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/4.976, allocations: 351.8 kB / 2.551 GB, free: 233.3 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/4.976, allocations: 50.81 kB / 2.551 GB, free: 233.3 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006956/4.977, allocations: 0.5076 MB / 2.552 GB, free: 233.2 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=104): time 3.387e-06/4.977, allocations: 0 / 2.552 GB, free: 233.2 MB / 0.7138 GB Notification: Performance of matching and sorting (n=104): time 0.002084/4.979, allocations: 0.8982 MB / 2.553 GB, free: 233.1 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/4.979, allocations: 249.8 kB / 2.553 GB, free: 232.8 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008421/4.98, allocations: 0.5904 MB / 2.554 GB, free: 232.7 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 7.771e-05/4.98, allocations: 25.7 kB / 2.554 GB, free: 232.7 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/4.98, allocations: 488.9 kB / 2.554 GB, free: 232.4 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/4.98, allocations: 331.2 kB / 2.554 GB, free: 232.2 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/4.98, allocations: 3.844 kB / 2.554 GB, free: 232.2 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001305/4.98, allocations: 388.6 kB / 2.555 GB, free: 231.8 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/4.981, allocations: 304.7 kB / 2.555 GB, free: 231.8 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/4.981, allocations: 416 kB / 2.555 GB, free: 231.8 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006185/4.982, allocations: 370.7 kB / 2.556 GB, free: 231.7 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/4.982, allocations: 0 / 2.556 GB, free: 231.7 MB / 0.7138 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001932/4.984, allocations: 0.957 MB / 2.557 GB, free: 231.6 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/4.984, allocations: 3.938 kB / 2.557 GB, free: 231.6 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/4.984, allocations: 3.906 kB / 2.557 GB, free: 231.6 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/4.985, allocations: 86.67 kB / 2.557 GB, free: 231.6 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000947/4.986, allocations: 213.7 kB / 2.557 GB, free: 231.6 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/4.988, allocations: 1.469 MB / 2.559 GB, free: 230.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/4.989, allocations: 91.03 kB / 2.559 GB, free: 230.4 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/4.989, allocations: 42.45 kB / 2.559 GB, free: 230.4 MB / 0.7138 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 (116): * Single equations (assignments): 115 * 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.0002531/4.989, allocations: 120.8 kB / 2.559 GB, free: 230.3 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/4.989, allocations: 96.31 kB / 2.559 GB, free: 230.2 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/4.992, allocations: 1.304 MB / 2.56 GB, free: 230.1 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/4.992, allocations: 17.45 kB / 2.56 GB, free: 230.1 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/4.992, allocations: 0 / 2.56 GB, free: 230.1 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/4.992, allocations: 3.562 kB / 2.56 GB, free: 230.1 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003784/4.996, allocations: 2.345 MB / 2.562 GB, free: 229.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/4.996, allocations: 0 / 2.562 GB, free: 229.8 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/4.997, allocations: 196.2 kB / 2.563 GB, free: 229.8 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005103/4.998, allocations: 85.91 kB / 2.563 GB, free: 229.7 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.796e-05/4.998, allocations: 23.11 kB / 2.563 GB, free: 229.7 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/4.999, allocations: 1.491 MB / 2.564 GB, free: 228.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/4.999, allocations: 0 / 2.564 GB, free: 228.5 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001939/5.001, allocations: 1.054 MB / 2.565 GB, free: 228.3 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/5.002, allocations: 351.5 kB / 2.566 GB, free: 228.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/5.002, allocations: 0 / 2.566 GB, free: 228.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/5.003, allocations: 56.48 kB / 2.566 GB, free: 228.1 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/5.003, allocations: 67.75 kB / 2.566 GB, free: 228.1 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.481e-05/5.003, allocations: 37.7 kB / 2.566 GB, free: 228.1 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0006029/5.004, allocations: 0.5029 MB / 2.566 GB, free: 228 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001354/5.005, allocations: 446.5 kB / 2.567 GB, free: 227.9 MB / 0.7138 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 (115): * Single equations (assignments): 112 * 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.001676/5.007, allocations: 1.067 MB / 2.568 GB, free: 227.7 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.001588/5.008, allocations: 0.9061 MB / 2.569 GB, free: 227.6 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/5.008, allocations: 0 / 2.569 GB, free: 227.6 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0008064/5.009, allocations: 0.5561 MB / 2.569 GB, free: 227.5 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/5.01, allocations: 222.1 kB / 2.569 GB, free: 227.5 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/5.015, allocations: 1.834 MB / 2.571 GB, free: 227 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/5.016, allocations: 1.329 MB / 2.572 GB, free: 226.3 MB / 0.7138 GB Notification: Performance of SimCode: time 1.774e-06/5.016, allocations: 0 / 2.572 GB, free: 226.3 MB / 0.7138 GB Notification: Performance of Templates: time 0.038/5.054, allocations: 20.19 MB / 2.592 GB, free: 224.7 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)