Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 186.9 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4423/0.4423, allocations: 90.86 MB / 99.08 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.4 MB / 342.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 97.59 kB / 415.5 MB, free: 6.359 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.095e-06, allocations: 0 / 493.9 MB, free: 8.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4911, allocations: 72.31 MB / 0.5529 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.442/3.933, allocations: 1.685 GB / 2.238 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/3.934, allocations: 80.67 kB / 2.238 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.2117/4.145, allocations: 94.77 MB / 2.33 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.113e-05/4.145, allocations: 39.92 kB / 2.33 GB, free: 43.43 MB / 0.6042 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.002113/4.148, allocations: 1.426 MB / 2.332 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/4.148, allocations: 16.02 kB / 2.332 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008897/4.149, allocations: 250.9 kB / 2.332 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/4.15, allocations: 0.7754 MB / 2.333 GB, free: 40.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/4.15, allocations: 51.98 kB / 2.333 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/4.15, allocations: 80 kB / 2.333 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001764/4.152, allocations: 1.38 MB / 2.334 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/4.153, allocations: 1.188 MB / 2.336 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/4.153, allocations: 0 / 2.336 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/4.153, allocations: 3.938 kB / 2.336 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/4.153, allocations: 36 kB / 2.336 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/4.158, allocations: 3.948 MB / 2.339 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/4.159, allocations: 0.8573 MB / 2.34 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/4.16, allocations: 347.8 kB / 2.341 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.742e-05/4.16, allocations: 45 kB / 2.341 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006247/4.161, allocations: 0.5144 MB / 2.341 GB, free: 32.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 2.144e-06/4.161, allocations: 0 / 2.341 GB, free: 32.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=104): time 0.001806/4.162, allocations: 0.8974 MB / 2.342 GB, free: 31.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/4.162, allocations: 248.2 kB / 2.342 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006172/4.163, allocations: 0.5897 MB / 2.343 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/4.163, allocations: 29.7 kB / 2.343 GB, free: 30.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/4.163, allocations: 483.5 kB / 2.343 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/4.164, allocations: 330.9 kB / 2.344 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/4.164, allocations: 0 / 2.344 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/4.164, allocations: 398.6 kB / 2.344 GB, free: 29.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/4.164, allocations: 297.9 kB / 2.344 GB, free: 28.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/4.165, allocations: 429 kB / 2.345 GB, free: 28.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/4.165, allocations: 370.8 kB / 2.345 GB, free: 28.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/4.165, allocations: 0 / 2.345 GB, free: 28.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001728/4.167, allocations: 0.96 MB / 2.346 GB, free: 27.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/4.167, allocations: 5.875 kB / 2.346 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/4.167, allocations: 4 kB / 2.346 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/4.168, allocations: 84.83 kB / 2.346 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/4.169, allocations: 211.7 kB / 2.346 GB, free: 26.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/4.17, allocations: 1.465 MB / 2.348 GB, free: 25.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000708/4.171, allocations: 87.25 kB / 2.348 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/4.171, allocations: 43.97 kB / 2.348 GB, free: 25.06 MB / 0.6042 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.000158/4.171, allocations: 116.8 kB / 2.348 GB, free: 24.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/4.171, allocations: 90.88 kB / 2.348 GB, free: 24.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/4.174, allocations: 1.31 MB / 2.349 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/4.174, allocations: 12 kB / 2.349 GB, free: 23.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/4.174, allocations: 3.906 kB / 2.349 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/4.174, allocations: 3.984 kB / 2.349 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/4.177, allocations: 2.359 MB / 2.352 GB, free: 21.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/4.177, allocations: 0 / 2.352 GB, free: 21.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/4.178, allocations: 203.6 kB / 2.352 GB, free: 20.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/4.179, allocations: 88.78 kB / 2.352 GB, free: 20.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/4.179, allocations: 15.98 kB / 2.352 GB, free: 20.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/4.18, allocations: 1.484 MB / 2.353 GB, free: 19.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/4.18, allocations: 7.922 kB / 2.353 GB, free: 19.19 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001707/4.182, allocations: 1.053 MB / 2.354 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/4.182, allocations: 351.3 kB / 2.355 GB, free: 17.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/4.182, allocations: 0 / 2.355 GB, free: 17.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/4.183, allocations: 59.95 kB / 2.355 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/4.183, allocations: 64.89 kB / 2.355 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-05/4.183, allocations: 39.97 kB / 2.355 GB, free: 17.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005401/4.184, allocations: 0.4991 MB / 2.355 GB, free: 17.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001249/4.185, allocations: 442.3 kB / 2.356 GB, free: 16.66 MB / 0.6042 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.001515/4.187, allocations: 1.061 MB / 2.357 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00155/4.188, allocations: 0.897 MB / 2.358 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/4.188, allocations: 0 / 2.358 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007829/4.189, allocations: 0.5638 MB / 2.358 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/4.19, allocations: 218.5 kB / 2.358 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/4.195, allocations: 1.818 MB / 2.36 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008835/4.196, allocations: 1.336 MB / 2.362 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/4.196, allocations: 0 / 2.362 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.2151/4.411, allocations: 20.18 MB / 2.381 GB, free: 229.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)