Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.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.765/0.765, allocations: 141.8 MB / 149.1 MB, free: 13.09 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.001073/0.001074, allocations: 185.8 kB / 181.9 MB, free: 9.793 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.222/1.222, allocations: 221.4 MB / 436 MB, free: 2.305 MB / 331.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009838, allocations: 95.52 kB / 0.507 GB, free: 11 MB / 395.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001746/0.001746, allocations: 286.5 kB / 0.5884 GB, free: 7.812 MB / 475.1 MB Notification: Performance of FrontEnd - loaded program: time 6.753e-06/6.783e-06, allocations: 0 / 0.6759 GB, free: 14.18 MB / 0.5577 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3672, allocations: 82.77 MB / 0.7567 GB, free: 139 MB / 0.5577 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.333/3.7, allocations: 1.691 GB / 2.448 GB, free: 78.22 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/3.701, allocations: 99.58 kB / 2.448 GB, free: 78.13 MB / 0.6984 GB Notification: Performance of FrontEnd: time 0.1379/3.839, allocations: 60.21 MB / 2.507 GB, free: 17.77 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 0.0001286/3.839, allocations: 24 kB / 2.507 GB, free: 17.75 MB / 0.6984 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.003141/3.842, allocations: 1.117 MB / 2.508 GB, free: 16.59 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/3.842, allocations: 8.031 kB / 2.508 GB, free: 16.58 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/3.843, allocations: 206.5 kB / 2.508 GB, free: 16.38 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/3.845, allocations: 0.6191 MB / 2.509 GB, free: 15.71 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/3.845, allocations: 28 kB / 2.509 GB, free: 15.69 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/3.845, allocations: 44 kB / 2.509 GB, free: 15.64 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001874/3.847, allocations: 1.015 MB / 2.51 GB, free: 14.63 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/3.849, allocations: 0.735 MB / 2.511 GB, free: 13.86 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/3.849, allocations: 4 kB / 2.511 GB, free: 13.85 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/3.849, allocations: 0 / 2.511 GB, free: 13.85 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/3.849, allocations: 20 kB / 2.511 GB, free: 13.83 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/3.854, allocations: 2.471 MB / 2.513 GB, free: 11.29 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/3.855, allocations: 0.6571 MB / 2.514 GB, free: 10.61 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/3.855, allocations: 254.8 kB / 2.514 GB, free: 10.36 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-05/3.855, allocations: 32.61 kB / 2.514 GB, free: 10.33 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/3.856, allocations: 394.1 kB / 2.514 GB, free: 9.926 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=76): time 4.338e-06/3.856, allocations: 0 / 2.514 GB, free: 9.926 MB / 0.6984 GB Notification: Performance of matching and sorting (n=76): time 0.001805/3.858, allocations: 0.6599 MB / 2.515 GB, free: 9.258 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/3.858, allocations: 240 kB / 2.515 GB, free: 8.965 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008746/3.859, allocations: 0.5023 MB / 2.516 GB, free: 8.457 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 7.898e-05/3.859, allocations: 25.7 kB / 2.516 GB, free: 8.426 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/3.859, allocations: 308.2 kB / 2.516 GB, free: 8.117 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/3.859, allocations: 240.3 kB / 2.516 GB, free: 7.879 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/3.859, allocations: 0 / 2.516 GB, free: 7.879 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 0.0001061/3.859, allocations: 374.8 kB / 2.517 GB, free: 7.504 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/3.86, allocations: 201.3 kB / 2.517 GB, free: 7.309 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/3.86, allocations: 306.3 kB / 2.517 GB, free: 6.977 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/3.861, allocations: 251.1 kB / 2.517 GB, free: 6.738 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/3.861, allocations: 0 / 2.517 GB, free: 6.738 MB / 0.6984 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001556/3.862, allocations: 0.6834 MB / 2.518 GB, free: 6.043 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/3.862, allocations: 4 kB / 2.518 GB, free: 6.039 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/3.862, allocations: 0 / 2.518 GB, free: 6.039 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/3.863, allocations: 84.73 kB / 2.518 GB, free: 5.953 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/3.863, allocations: 155.8 kB / 2.518 GB, free: 5.801 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/3.865, allocations: 1.454 MB / 2.52 GB, free: 4.223 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/3.866, allocations: 67.59 kB / 2.52 GB, free: 4.156 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/3.866, allocations: 31.98 kB / 2.52 GB, free: 4.125 MB / 0.6984 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 (80): * Single equations (assignments): 79 * 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.0001977/3.866, allocations: 127.8 kB / 2.52 GB, free: 3.996 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/3.866, allocations: 67.16 kB / 2.52 GB, free: 3.93 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/3.869, allocations: 0.9561 MB / 2.521 GB, free: 2.977 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/3.869, allocations: 15.94 kB / 2.521 GB, free: 2.961 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/3.869, allocations: 0 / 2.521 GB, free: 2.961 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/3.869, allocations: 7.969 kB / 2.521 GB, free: 2.953 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/3.872, allocations: 1.72 MB / 2.523 GB, free: 1.184 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/3.872, allocations: 0 / 2.523 GB, free: 1.184 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/3.872, allocations: 155.8 kB / 2.523 GB, free: 1.031 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/3.873, allocations: 84.78 kB / 2.523 GB, free: 0.9453 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.805e-05/3.873, allocations: 15.98 kB / 2.523 GB, free: 0.9297 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3271/4.2, allocations: 1.473 MB / 2.524 GB, free: 267.7 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/4.2, allocations: 0 / 2.524 GB, free: 267.7 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001825/4.202, allocations: 0.8315 MB / 2.525 GB, free: 267.6 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/4.203, allocations: 281.2 kB / 2.525 GB, free: 267.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/4.203, allocations: 3.562 kB / 2.525 GB, free: 267.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/4.203, allocations: 57.88 kB / 2.526 GB, free: 267.5 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/4.203, allocations: 50.72 kB / 2.526 GB, free: 267.5 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/4.204, allocations: 35.22 kB / 2.526 GB, free: 267.5 MB / 0.6984 GB Notification: Performance of sort global known variables: time 0.0005126/4.204, allocations: 416.5 kB / 2.526 GB, free: 267.4 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.001071/4.205, allocations: 335.7 kB / 2.526 GB, free: 267.4 MB / 0.6984 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 (87): * Single equations (assignments): 84 * 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.001653/4.207, allocations: 1.055 MB / 2.527 GB, free: 267.3 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.001166/4.208, allocations: 0.6687 MB / 2.528 GB, free: 267.2 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/4.208, allocations: 0 / 2.528 GB, free: 267.2 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0006319/4.209, allocations: 460.3 kB / 2.528 GB, free: 267.1 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/4.21, allocations: 208.6 kB / 2.529 GB, free: 267.1 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/4.213, allocations: 1.356 MB / 2.53 GB, free: 266.8 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008251/4.214, allocations: 1.131 MB / 2.531 GB, free: 266.1 MB / 0.6984 GB Notification: Performance of SimCode: time 1.322e-06/4.214, allocations: 3.719 kB / 2.531 GB, free: 266.1 MB / 0.6984 GB Notification: Performance of Templates: time 0.03202/4.246, allocations: 16.98 MB / 2.548 GB, free: 265.1 MB / 0.6984 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)