Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.408/1.408, allocations: 289.8 MB / 297.1 MB, free: 6.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 181.3 kB / 366.3 MB, free: 1.961 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.162/1.162, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008674/0.0008673, allocations: 85.28 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2205/0.2214, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.7598, allocations: 116.3 MB / 0.9726 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.485/4.245, allocations: 2.075 GB / 3.047 GB, free: 353.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/4.246, allocations: 89.28 kB / 3.047 GB, free: 353.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.1695/4.415, allocations: 84.21 MB / 3.13 GB, free: 303.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/4.415, allocations: 11.98 kB / 3.13 GB, free: 303.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008644/4.416, allocations: 234 kB / 3.13 GB, free: 302.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009302/4.417, allocations: 0.7561 MB / 3.131 GB, free: 302.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/4.417, allocations: 80.09 kB / 3.131 GB, free: 302 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/4.417, allocations: 71.94 kB / 3.131 GB, free: 301.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/4.419, allocations: 1.238 MB / 3.132 GB, free: 300.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/4.42, allocations: 1.033 MB / 3.133 GB, free: 299.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/4.42, allocations: 0 / 3.133 GB, free: 299.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.387e-05/4.42, allocations: 4 kB / 3.133 GB, free: 299.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/4.42, allocations: 28 kB / 3.133 GB, free: 299.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004069/4.424, allocations: 3.389 MB / 3.136 GB, free: 296.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/4.425, allocations: 0.8101 MB / 3.137 GB, free: 295.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/4.426, allocations: 319.2 kB / 3.137 GB, free: 294.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.718e-05/4.426, allocations: 44.69 kB / 3.137 GB, free: 294.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005447/4.426, allocations: 491.7 kB / 3.138 GB, free: 294.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=93): time 1.914e-06/4.426, allocations: 8 kB / 3.138 GB, free: 294.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=93): time 0.001599/4.428, allocations: 0.8225 MB / 3.139 GB, free: 293.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/4.428, allocations: 248.1 kB / 3.139 GB, free: 293.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/4.429, allocations: 0.5975 MB / 3.139 GB, free: 292.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/4.429, allocations: 25.7 kB / 3.139 GB, free: 292.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/4.429, allocations: 415.8 kB / 3.14 GB, free: 292.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/4.429, allocations: 299.4 kB / 3.14 GB, free: 291.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/4.429, allocations: 0 / 3.14 GB, free: 291.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/4.429, allocations: 390.8 kB / 3.141 GB, free: 291.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/4.429, allocations: 273.9 kB / 3.141 GB, free: 291.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/4.43, allocations: 390.4 kB / 3.141 GB, free: 290.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/4.43, allocations: 342.8 kB / 3.142 GB, free: 290.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/4.43, allocations: 0 / 3.142 GB, free: 290.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001563/4.432, allocations: 0.878 MB / 3.142 GB, free: 289.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/4.432, allocations: 8 kB / 3.142 GB, free: 289.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/4.432, allocations: 8.031 kB / 3.142 GB, free: 289.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005861/4.432, allocations: 84.77 kB / 3.142 GB, free: 289.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007604/4.433, allocations: 191.7 kB / 3.143 GB, free: 289.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/4.435, allocations: 1.461 MB / 3.144 GB, free: 287.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006422/4.436, allocations: 79.36 kB / 3.144 GB, free: 287.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/4.436, allocations: 39.97 kB / 3.144 GB, free: 287.6 MB / 0.948 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.0001634/4.436, allocations: 118.7 kB / 3.144 GB, free: 287.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/4.436, allocations: 90.88 kB / 3.144 GB, free: 287.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/4.438, allocations: 1.209 MB / 3.146 GB, free: 286.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/4.438, allocations: 16 kB / 3.146 GB, free: 286.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/4.438, allocations: 0 / 3.146 GB, free: 286.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/4.438, allocations: 11.88 kB / 3.146 GB, free: 286.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/4.441, allocations: 2.207 MB / 3.148 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/4.441, allocations: 0 / 3.148 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/4.442, allocations: 179.8 kB / 3.148 GB, free: 283.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004924/4.443, allocations: 80.78 kB / 3.148 GB, free: 283.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/4.443, allocations: 23.97 kB / 3.148 GB, free: 283.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/4.444, allocations: 1.488 MB / 3.149 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/4.444, allocations: 8 kB / 3.149 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001461/4.445, allocations: 1.009 MB / 3.15 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001613/4.447, allocations: 1.408 MB / 3.152 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/4.447, allocations: 347.4 kB / 3.152 GB, free: 279.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/4.448, allocations: 0 / 3.152 GB, free: 279.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/4.448, allocations: 67.84 kB / 3.152 GB, free: 279.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/4.448, allocations: 64.91 kB / 3.152 GB, free: 279 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/4.449, allocations: 39.97 kB / 3.152 GB, free: 279 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004771/4.449, allocations: 0.4913 MB / 3.153 GB, free: 278.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001675/4.451, allocations: 458.6 kB / 3.153 GB, free: 278.1 MB / 0.948 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.001236/4.452, allocations: 1.015 MB / 3.154 GB, free: 277.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001139/4.453, allocations: 0.8385 MB / 3.155 GB, free: 276.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/4.453, allocations: 4.062 kB / 3.155 GB, free: 276.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006443/4.454, allocations: 0.5286 MB / 3.156 GB, free: 275.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/4.455, allocations: 230 kB / 3.156 GB, free: 275.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/4.458, allocations: 1.705 MB / 3.157 GB, free: 273.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007868/4.459, allocations: 1.277 MB / 3.159 GB, free: 272.4 MB / 0.948 GB Notification: Performance of SimCode: time 3e-07/4.459, allocations: 4 kB / 3.159 GB, free: 272.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)