Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [: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.7168/0.7168, allocations: 141.8 MB / 149.1 MB, free: 3.051 MB / 126.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 182.2 kB / 181.9 MB, free: 14.94 MB / 158.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 221.4 MB / 436 MB, free: 8.066 MB / 334.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001019, allocations: 100.1 kB / 0.507 GB, free: 24.4 MB / 398.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00192/0.00192, allocations: 276.6 kB / 0.5884 GB, free: 11.12 MB / 446.2 MB Notification: Performance of FrontEnd - loaded program: time 8.747e-06/8.777e-06, allocations: 0 / 0.6759 GB, free: 1.492 MB / 0.5139 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5262/0.5262, allocations: 82.76 MB / 0.7567 GB, free: 111.7 MB / 0.5295 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.59/4.116, allocations: 1.693 GB / 2.45 GB, free: 107.1 MB / 0.7014 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/4.117, allocations: 90.66 kB / 2.45 GB, free: 107 MB / 0.7014 GB Notification: Performance of FrontEnd: time 0.1847/4.301, allocations: 84.49 MB / 2.532 GB, free: 22.35 MB / 0.7014 GB Notification: Performance of Transformations before backend: time 0.0001548/4.302, allocations: 28 kB / 2.532 GB, free: 22.32 MB / 0.7014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004016/4.306, allocations: 1.357 MB / 2.533 GB, free: 20.91 MB / 0.7014 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/4.306, allocations: 8.031 kB / 2.533 GB, free: 20.91 MB / 0.7014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/4.307, allocations: 250 kB / 2.534 GB, free: 20.66 MB / 0.7014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/4.309, allocations: 0.7483 MB / 2.534 GB, free: 19.87 MB / 0.7014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/4.309, allocations: 84.19 kB / 2.535 GB, free: 19.78 MB / 0.7014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/4.309, allocations: 71.91 kB / 2.535 GB, free: 19.71 MB / 0.7014 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002314/4.312, allocations: 1.273 MB / 2.536 GB, free: 18.43 MB / 0.7014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/4.314, allocations: 1.058 MB / 2.537 GB, free: 17.32 MB / 0.7014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/4.314, allocations: 4 kB / 2.537 GB, free: 17.31 MB / 0.7014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/4.314, allocations: 0 / 2.537 GB, free: 17.31 MB / 0.7014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/4.314, allocations: 31.98 kB / 2.537 GB, free: 17.28 MB / 0.7014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/4.32, allocations: 3.554 MB / 2.54 GB, free: 13.61 MB / 0.7014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/4.321, allocations: 0.8074 MB / 2.541 GB, free: 12.79 MB / 0.7014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/4.321, allocations: 323.1 kB / 2.541 GB, free: 12.48 MB / 0.7014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/4.322, allocations: 44.69 kB / 2.542 GB, free: 12.43 MB / 0.7014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006224/4.322, allocations: 487.8 kB / 2.542 GB, free: 11.94 MB / 0.7014 GB Notification: Performance of pre-optimization done (n=93): time 2.314e-06/4.322, allocations: 0 / 2.542 GB, free: 11.94 MB / 0.7014 GB Notification: Performance of matching and sorting (n=93): time 0.001873/4.324, allocations: 0.8303 MB / 2.543 GB, free: 11.09 MB / 0.7014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/4.324, allocations: 240.1 kB / 2.543 GB, free: 10.8 MB / 0.7014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/4.325, allocations: 0.5856 MB / 2.544 GB, free: 10.21 MB / 0.7014 GB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/4.325, allocations: 25.7 kB / 2.544 GB, free: 10.18 MB / 0.7014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/4.325, allocations: 435.5 kB / 2.544 GB, free: 9.746 MB / 0.7014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/4.325, allocations: 291.6 kB / 2.544 GB, free: 9.457 MB / 0.7014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/4.325, allocations: 0 / 2.544 GB, free: 9.457 MB / 0.7014 GB Notification: Performance of setup shared object (initialization): time 0.0001126/4.326, allocations: 394.8 kB / 2.545 GB, free: 9.062 MB / 0.7014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/4.326, allocations: 269.9 kB / 2.545 GB, free: 8.801 MB / 0.7014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/4.326, allocations: 386.4 kB / 2.545 GB, free: 8.391 MB / 0.7014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/4.327, allocations: 346.8 kB / 2.546 GB, free: 8.051 MB / 0.7014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/4.327, allocations: 0 / 2.546 GB, free: 8.051 MB / 0.7014 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001728/4.329, allocations: 0.8781 MB / 2.546 GB, free: 7.164 MB / 0.7014 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/4.329, allocations: 4 kB / 2.547 GB, free: 7.16 MB / 0.7014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/4.329, allocations: 0 / 2.547 GB, free: 7.16 MB / 0.7014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006391/4.329, allocations: 84.84 kB / 2.547 GB, free: 7.074 MB / 0.7014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/4.33, allocations: 183.8 kB / 2.547 GB, free: 6.895 MB / 0.7014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/4.332, allocations: 1.485 MB / 2.548 GB, free: 5.285 MB / 0.7014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/4.333, allocations: 75.39 kB / 2.548 GB, free: 5.211 MB / 0.7014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/4.333, allocations: 35.97 kB / 2.548 GB, free: 5.176 MB / 0.7014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0001905/4.333, allocations: 128.7 kB / 2.548 GB, free: 5.043 MB / 0.7014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/4.333, allocations: 82.97 kB / 2.549 GB, free: 4.961 MB / 0.7014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/4.336, allocations: 1.203 MB / 2.55 GB, free: 3.762 MB / 0.7014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/4.336, allocations: 8 kB / 2.55 GB, free: 3.754 MB / 0.7014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/4.336, allocations: 4 kB / 2.55 GB, free: 3.75 MB / 0.7014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/4.336, allocations: 3.984 kB / 2.55 GB, free: 3.746 MB / 0.7014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/4.339, allocations: 2.219 MB / 2.552 GB, free: 1.48 MB / 0.7014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/4.339, allocations: 0 / 2.552 GB, free: 1.48 MB / 0.7014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007445/4.34, allocations: 179.7 kB / 2.552 GB, free: 1.305 MB / 0.7014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000532/4.34, allocations: 88.75 kB / 2.552 GB, free: 1.215 MB / 0.7014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/4.341, allocations: 23.98 kB / 2.552 GB, free: 1.191 MB / 0.7014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2643/4.605, allocations: 1.485 MB / 2.554 GB, free: 270.7 MB / 0.7014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/4.605, allocations: 0 / 2.554 GB, free: 270.7 MB / 0.7014 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002163/4.607, allocations: 1.004 MB / 2.555 GB, free: 270.5 MB / 0.7014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004966/4.608, allocations: 338.7 kB / 2.555 GB, free: 270.4 MB / 0.7014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/4.608, allocations: 5.844 kB / 2.555 GB, free: 270.4 MB / 0.7014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007259/4.608, allocations: 63.72 kB / 2.555 GB, free: 270.4 MB / 0.7014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/4.609, allocations: 63.3 kB / 2.555 GB, free: 270.4 MB / 0.7014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/4.609, allocations: 36.16 kB / 2.555 GB, free: 270.4 MB / 0.7014 GB Notification: Performance of sort global known variables: time 0.0005818/4.609, allocations: 494.3 kB / 2.556 GB, free: 270.4 MB / 0.7014 GB Notification: Performance of remove unused functions: time 0.00125/4.611, allocations: 409.9 kB / 2.556 GB, free: 270.4 MB / 0.7014 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 (107): * Single equations (assignments): 104 * 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.001638/4.612, allocations: 1.058 MB / 2.557 GB, free: 270.2 MB / 0.7014 GB Notification: Performance of simCode: created initialization part: time 0.001377/4.614, allocations: 0.8332 MB / 2.558 GB, free: 270.1 MB / 0.7014 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/4.614, allocations: 3.875 kB / 2.558 GB, free: 270.1 MB / 0.7014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007221/4.614, allocations: 0.5283 MB / 2.558 GB, free: 270 MB / 0.7014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/4.615, allocations: 220.7 kB / 2.559 GB, free: 270 MB / 0.7014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/4.62, allocations: 1.718 MB / 2.56 GB, free: 269.6 MB / 0.7014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008929/4.62, allocations: 1.269 MB / 2.561 GB, free: 268.9 MB / 0.7014 GB Notification: Performance of SimCode: time 9.01e-07/4.62, allocations: 2.344 kB / 2.561 GB, free: 268.9 MB / 0.7014 GB Notification: Performance of Templates: time 0.03212/4.653, allocations: 19.46 MB / 2.58 GB, free: 267.9 MB / 0.7014 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)