Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009004/0.0009004, allocations: 173.3 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9802/0.9802, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0007727/0.0007726, allocations: 97.48 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.168/0.1688, allocations: 121.4 MB / 0.8511 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.5645, allocations: 115.3 MB / 0.9638 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.703/3.268, allocations: 2.074 GB / 3.037 GB, free: 30 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/3.268, allocations: 86.38 kB / 3.037 GB, free: 29.95 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.4416/3.709, allocations: 84.21 MB / 3.12 GB, free: 321.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/3.71, allocations: 14.72 kB / 3.12 GB, free: 321.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009946/3.711, allocations: 237 kB / 3.12 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/3.712, allocations: 0.754 MB / 3.121 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.583e-05/3.712, allocations: 86.75 kB / 3.121 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/3.712, allocations: 66.91 kB / 3.121 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001814/3.714, allocations: 1.241 MB / 3.122 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/3.715, allocations: 1.031 MB / 3.123 GB, free: 320 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/3.715, allocations: 0 / 3.123 GB, free: 320 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/3.715, allocations: 0 / 3.123 GB, free: 320 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/3.715, allocations: 32.75 kB / 3.123 GB, free: 320 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/3.72, allocations: 3.374 MB / 3.126 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009554/3.721, allocations: 0.8048 MB / 3.127 GB, free: 317.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003812/3.721, allocations: 318.3 kB / 3.127 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.66e-05/3.721, allocations: 45.16 kB / 3.128 GB, free: 317.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005452/3.722, allocations: 490.7 kB / 3.128 GB, free: 316.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=93): time 1.823e-06/3.722, allocations: 0 / 3.128 GB, free: 316.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=93): time 0.001595/3.723, allocations: 0.8333 MB / 3.129 GB, free: 316.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/3.723, allocations: 249 kB / 3.129 GB, free: 316.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/3.724, allocations: 0.5968 MB / 3.13 GB, free: 315.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/3.724, allocations: 31.08 kB / 3.13 GB, free: 315.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/3.724, allocations: 416.6 kB / 3.13 GB, free: 315.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/3.724, allocations: 297.3 kB / 3.13 GB, free: 315.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/3.724, allocations: 0 / 3.13 GB, free: 315.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/3.724, allocations: 392.6 kB / 3.131 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/3.725, allocations: 272.2 kB / 3.131 GB, free: 314.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/3.725, allocations: 400.7 kB / 3.131 GB, free: 314.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/3.726, allocations: 340.4 kB / 3.132 GB, free: 314.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/3.726, allocations: 0 / 3.132 GB, free: 314.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001545/3.727, allocations: 0.875 MB / 3.133 GB, free: 313.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/3.727, allocations: 5.812 kB / 3.133 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/3.727, allocations: 1.125 kB / 3.133 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/3.728, allocations: 84.38 kB / 3.133 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/3.729, allocations: 191.9 kB / 3.133 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/3.73, allocations: 1.472 MB / 3.134 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006091/3.731, allocations: 77.89 kB / 3.134 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/3.731, allocations: 38.47 kB / 3.134 GB, free: 312.3 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.0001422/3.731, allocations: 119.9 kB / 3.134 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/3.731, allocations: 90.44 kB / 3.135 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/3.733, allocations: 1.212 MB / 3.136 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/3.734, allocations: 11.31 kB / 3.136 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/3.734, allocations: 3.984 kB / 3.136 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/3.734, allocations: 7.984 kB / 3.136 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/3.736, allocations: 2.214 MB / 3.138 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/3.736, allocations: 7.938 kB / 3.138 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00069/3.737, allocations: 182.7 kB / 3.138 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/3.737, allocations: 81.81 kB / 3.138 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/3.738, allocations: 26.22 kB / 3.138 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/3.739, allocations: 1.486 MB / 3.14 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/3.739, allocations: 0 / 3.14 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001557/3.741, allocations: 1.01 MB / 3.141 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001568/3.742, allocations: 1.413 MB / 3.142 GB, free: 307.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/3.742, allocations: 350 kB / 3.142 GB, free: 306.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/3.743, allocations: 1.625 kB / 3.142 GB, free: 306.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/3.743, allocations: 64.25 kB / 3.142 GB, free: 306.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/3.743, allocations: 63.78 kB / 3.142 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/3.743, allocations: 43.56 kB / 3.143 GB, free: 306.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004441/3.744, allocations: 0.492 MB / 3.143 GB, free: 306.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001587/3.746, allocations: 453.4 kB / 3.143 GB, free: 306.2 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.001181/3.747, allocations: 1.015 MB / 3.144 GB, free: 305.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001094/3.748, allocations: 0.8364 MB / 3.145 GB, free: 305.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/3.748, allocations: 4 kB / 3.145 GB, free: 305.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006376/3.748, allocations: 0.5286 MB / 3.146 GB, free: 305.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/3.749, allocations: 223.9 kB / 3.146 GB, free: 305.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/3.753, allocations: 1.715 MB / 3.148 GB, free: 304.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007623/3.754, allocations: 1.271 MB / 3.149 GB, free: 303.3 MB / 0.948 GB Notification: Performance of SimCode: time 3.4e-07/3.754, allocations: 0 / 3.149 GB, free: 303.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)