Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [: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.7486/0.7486, allocations: 141.8 MB / 149.1 MB, free: 3.668 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 189 kB / 181.9 MB, free: 15.39 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.573/1.573, allocations: 221.3 MB / 436 MB, free: 8.496 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.001138/0.001138, allocations: 91.98 kB / 0.507 GB, free: 24.3 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 270.3 kB / 0.5884 GB, free: 11.59 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.297e-06/9.327e-06, allocations: 0 / 0.6759 GB, free: 1.965 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5786/0.5786, allocations: 82.75 MB / 0.7567 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.271/3.849, allocations: 1.691 GB / 2.448 GB, free: 111.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/3.849, allocations: 95.75 kB / 2.448 GB, free: 111.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.131/3.981, allocations: 60.63 MB / 2.507 GB, free: 50.81 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001003/3.981, allocations: 24 kB / 2.507 GB, free: 50.79 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002765/3.983, allocations: 1.133 MB / 2.508 GB, free: 49.61 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/3.983, allocations: 8.031 kB / 2.508 GB, free: 49.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/3.985, allocations: 190.6 kB / 2.508 GB, free: 49.41 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/3.986, allocations: 0.623 MB / 2.509 GB, free: 48.75 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/3.986, allocations: 28 kB / 2.509 GB, free: 48.72 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/3.986, allocations: 48 kB / 2.509 GB, free: 48.67 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001319/3.987, allocations: 1.015 MB / 2.51 GB, free: 47.66 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/3.988, allocations: 0.7428 MB / 2.511 GB, free: 46.87 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/3.988, allocations: 8 kB / 2.511 GB, free: 46.86 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/3.988, allocations: 3.984 kB / 2.511 GB, free: 46.86 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/3.988, allocations: 20 kB / 2.511 GB, free: 46.84 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003486/3.992, allocations: 2.419 MB / 2.513 GB, free: 44.36 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/3.993, allocations: 0.7807 MB / 2.514 GB, free: 43.54 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/3.994, allocations: 262.8 kB / 2.514 GB, free: 43.29 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 6.975e-05/3.994, allocations: 28.61 kB / 2.514 GB, free: 43.26 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/3.994, allocations: 394 kB / 2.515 GB, free: 42.85 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=76): time 2.415e-06/3.994, allocations: 0 / 2.515 GB, free: 42.85 MB / 0.6982 GB Notification: Performance of matching and sorting (n=76): time 0.001514/3.996, allocations: 0.6599 MB / 2.515 GB, free: 42.18 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/3.996, allocations: 244 kB / 2.516 GB, free: 41.89 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/3.996, allocations: 0.5061 MB / 2.516 GB, free: 41.38 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/3.997, allocations: 25.7 kB / 2.516 GB, free: 41.34 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/3.997, allocations: 304.2 kB / 2.516 GB, free: 41.04 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/3.997, allocations: 240.4 kB / 2.517 GB, free: 40.8 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/3.997, allocations: 3.938 kB / 2.517 GB, free: 40.8 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/3.997, allocations: 378.7 kB / 2.517 GB, free: 40.42 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/3.997, allocations: 197.3 kB / 2.517 GB, free: 40.23 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/3.998, allocations: 306.4 kB / 2.517 GB, free: 39.89 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/3.998, allocations: 247.1 kB / 2.518 GB, free: 39.66 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/3.998, allocations: 4 kB / 2.518 GB, free: 39.66 MB / 0.6982 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001379/3.999, allocations: 0.6756 MB / 2.518 GB, free: 38.97 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/3.999, allocations: 7.938 kB / 2.518 GB, free: 38.96 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/3.999, allocations: 0 / 2.518 GB, free: 38.96 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/4, allocations: 88.83 kB / 2.518 GB, free: 38.87 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/4.001, allocations: 143.8 kB / 2.519 GB, free: 38.73 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/4.002, allocations: 1.454 MB / 2.52 GB, free: 37.16 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006561/4.003, allocations: 71.59 kB / 2.52 GB, free: 37.09 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/4.003, allocations: 31.97 kB / 2.52 GB, free: 37.05 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001556/4.003, allocations: 120.8 kB / 2.52 GB, free: 36.93 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/4.003, allocations: 71.16 kB / 2.52 GB, free: 36.86 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/4.005, allocations: 0.9819 MB / 2.521 GB, free: 35.89 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/4.006, allocations: 15.98 kB / 2.521 GB, free: 35.88 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/4.006, allocations: 0 / 2.521 GB, free: 35.88 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/4.006, allocations: 7.984 kB / 2.521 GB, free: 35.87 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/4.008, allocations: 1.749 MB / 2.523 GB, free: 34.07 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/4.008, allocations: 4 kB / 2.523 GB, free: 34.07 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/4.009, allocations: 155.8 kB / 2.523 GB, free: 33.91 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/4.009, allocations: 84.77 kB / 2.523 GB, free: 33.83 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.827e-05/4.009, allocations: 15.98 kB / 2.523 GB, free: 33.81 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/4.011, allocations: 1.476 MB / 2.525 GB, free: 32.21 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/4.011, allocations: 4 kB / 2.525 GB, free: 32.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001522/4.013, allocations: 0.8634 MB / 2.525 GB, free: 31.32 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/4.013, allocations: 283.8 kB / 2.526 GB, free: 31.02 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/4.013, allocations: 15.89 kB / 2.526 GB, free: 31 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/4.014, allocations: 51.95 kB / 2.526 GB, free: 30.95 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/4.014, allocations: 52.69 kB / 2.526 GB, free: 30.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.6e-05/4.014, allocations: 35.98 kB / 2.526 GB, free: 30.87 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004929/4.015, allocations: 410.9 kB / 2.526 GB, free: 30.47 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001117/4.016, allocations: 351 kB / 2.527 GB, free: 30.12 MB / 0.6982 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 (93): * Single equations (assignments): 90 * 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.001806/4.018, allocations: 1.072 MB / 2.528 GB, free: 29.14 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001262/4.019, allocations: 0.6781 MB / 2.528 GB, free: 28.46 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/4.019, allocations: 0 / 2.528 GB, free: 28.46 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006548/4.019, allocations: 468.6 kB / 2.529 GB, free: 27.99 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/4.021, allocations: 214 kB / 2.529 GB, free: 27.79 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/4.024, allocations: 1.371 MB / 2.53 GB, free: 26.39 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007119/4.025, allocations: 1.135 MB / 2.531 GB, free: 25.23 MB / 0.6982 GB Notification: Performance of SimCode: time 7.21e-07/4.025, allocations: 4 kB / 2.531 GB, free: 25.22 MB / 0.6982 GB Notification: Performance of Templates: time 0.02507/4.05, allocations: 17.19 MB / 2.548 GB, free: 8.141 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)