Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.121/2.121, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001606/0.001606, allocations: 177.3 kB / 360.3 MB, free: 7.562 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.661/1.661, allocations: 205.2 MB / 0.6187 GB, free: 13.21 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.001252/0.001252, allocations: 82.12 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2488/0.2501, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5457/0.7959, allocations: 115.2 MB / 0.9627 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.469/5.265, allocations: 2.074 GB / 3.036 GB, free: 272 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/5.265, allocations: 88.78 kB / 3.036 GB, free: 272 MB / 0.9323 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.3121/5.578, allocations: 84.22 MB / 3.119 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/5.578, allocations: 11.98 kB / 3.119 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/5.579, allocations: 234 kB / 3.119 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/5.581, allocations: 0.7513 MB / 3.12 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/5.581, allocations: 84.03 kB / 3.12 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/5.582, allocations: 68 kB / 3.12 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00306/5.585, allocations: 1.238 MB / 3.121 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/5.587, allocations: 1.033 MB / 3.122 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/5.587, allocations: 0 / 3.122 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/5.588, allocations: 0 / 3.122 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/5.588, allocations: 32 kB / 3.122 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008709/5.596, allocations: 3.386 MB / 3.125 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/5.598, allocations: 0.8085 MB / 3.126 GB, free: 234.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007474/5.599, allocations: 325.3 kB / 3.126 GB, free: 233.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/5.599, allocations: 48.38 kB / 3.126 GB, free: 233.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/5.6, allocations: 491.4 kB / 3.127 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=93): time 3.216e-06/5.6, allocations: 4 kB / 3.127 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=93): time 0.003203/5.604, allocations: 0.8273 MB / 3.128 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/5.604, allocations: 244.1 kB / 3.128 GB, free: 232.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/5.605, allocations: 0.5967 MB / 3.128 GB, free: 232.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002093/5.605, allocations: 29.64 kB / 3.129 GB, free: 232.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/5.606, allocations: 414.8 kB / 3.129 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/5.606, allocations: 299 kB / 3.129 GB, free: 231.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/5.606, allocations: 0 / 3.129 GB, free: 231.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001329/5.606, allocations: 390.1 kB / 3.13 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007378/5.607, allocations: 271.9 kB / 3.13 GB, free: 230.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000838/5.608, allocations: 396.7 kB / 3.13 GB, free: 230.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009352/5.609, allocations: 339.3 kB / 3.131 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/5.609, allocations: 6.25 kB / 3.131 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003183/5.612, allocations: 0.8712 MB / 3.131 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/5.612, allocations: 4.094 kB / 3.131 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/5.612, allocations: 11.94 kB / 3.131 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/5.613, allocations: 80.34 kB / 3.131 GB, free: 229.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/5.615, allocations: 191 kB / 3.132 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/5.617, allocations: 1.475 MB / 3.133 GB, free: 228 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/5.619, allocations: 79.36 kB / 3.133 GB, free: 227.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/5.619, allocations: 39.47 kB / 3.133 GB, free: 227.9 MB / 0.9323 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.0002888/5.619, allocations: 122.6 kB / 3.133 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/5.619, allocations: 90.88 kB / 3.133 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/5.624, allocations: 1.206 MB / 3.135 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/5.624, allocations: 12 kB / 3.135 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/5.624, allocations: 4 kB / 3.135 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/5.624, allocations: 11.88 kB / 3.135 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005655/5.63, allocations: 2.203 MB / 3.137 GB, free: 225.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/5.63, allocations: 0 / 3.137 GB, free: 225.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/5.631, allocations: 183.2 kB / 3.137 GB, free: 225 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009175/5.632, allocations: 79.91 kB / 3.137 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.414e-05/5.632, allocations: 23.34 kB / 3.137 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/5.635, allocations: 1.494 MB / 3.139 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/5.635, allocations: 0 / 3.139 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003159/5.638, allocations: 1.009 MB / 3.139 GB, free: 222.6 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003123/5.641, allocations: 1.408 MB / 3.141 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007816/5.642, allocations: 348.7 kB / 3.141 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/5.642, allocations: 0 / 3.141 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/5.644, allocations: 67.84 kB / 3.141 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/5.644, allocations: 60.91 kB / 3.141 GB, free: 220.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/5.644, allocations: 43.97 kB / 3.141 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0009126/5.645, allocations: 0.4913 MB / 3.142 GB, free: 220.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0026/5.648, allocations: 450.6 kB / 3.142 GB, free: 219.7 MB / 0.9323 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.00209/5.65, allocations: 1.015 MB / 3.143 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002409/5.652, allocations: 0.8385 MB / 3.144 GB, free: 218 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/5.652, allocations: 0 / 3.144 GB, free: 218 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/5.654, allocations: 0.5364 MB / 3.145 GB, free: 217.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/5.656, allocations: 225.5 kB / 3.145 GB, free: 217.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007122/5.663, allocations: 1.709 MB / 3.146 GB, free: 215.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/5.664, allocations: 1.277 MB / 3.148 GB, free: 214.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.182e-06/5.664, allocations: 0 / 3.148 GB, free: 214.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)