Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.843/1.843, allocations: 390.4 MB / 397.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 173.3 kB / 490.8 MB, free: 1.969 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 221.3 MB / 0.7863 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009668/0.0009668, allocations: 84.02 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4893/0.4903, allocations: 149.1 MB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.6753, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.629/3.305, allocations: 1.733 GB / 2.945 GB, free: 138.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/3.305, allocations: 87.89 kB / 2.945 GB, free: 138.8 MB / 1.151 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.175/3.48, allocations: 85.89 MB / 3.029 GB, free: 52.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/3.48, allocations: 16 kB / 3.029 GB, free: 52.58 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/3.481, allocations: 238 kB / 3.029 GB, free: 52.35 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/3.482, allocations: 0.7522 MB / 3.03 GB, free: 51.55 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.51e-05/3.483, allocations: 84.17 kB / 3.03 GB, free: 51.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/3.483, allocations: 71.91 kB / 3.03 GB, free: 51.39 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00179/3.485, allocations: 1.273 MB / 3.031 GB, free: 50.11 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/3.486, allocations: 1.054 MB / 3.032 GB, free: 49 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/3.486, allocations: 0 / 3.032 GB, free: 49 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.66e-05/3.486, allocations: 3.984 kB / 3.032 GB, free: 49 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/3.486, allocations: 36 kB / 3.032 GB, free: 48.96 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/3.491, allocations: 3.559 MB / 3.036 GB, free: 45.29 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/3.492, allocations: 0.8023 MB / 3.037 GB, free: 44.48 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/3.493, allocations: 327.1 kB / 3.037 GB, free: 44.16 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-05/3.493, allocations: 40.7 kB / 3.037 GB, free: 44.12 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005899/3.493, allocations: 491.7 kB / 3.037 GB, free: 43.62 MB / 1.151 GB Notification: Performance of pre-optimization done (n=93): time 3.016e-06/3.493, allocations: 4.031 kB / 3.037 GB, free: 43.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=93): time 0.001707/3.495, allocations: 0.8264 MB / 3.038 GB, free: 42.78 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/3.495, allocations: 248.1 kB / 3.038 GB, free: 42.48 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/3.496, allocations: 0.5779 MB / 3.039 GB, free: 41.89 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/3.496, allocations: 25.7 kB / 3.039 GB, free: 41.86 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/3.496, allocations: 431.6 kB / 3.039 GB, free: 41.43 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/3.496, allocations: 299.6 kB / 3.04 GB, free: 41.14 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/3.496, allocations: 0 / 3.04 GB, free: 41.14 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/3.496, allocations: 386.8 kB / 3.04 GB, free: 40.75 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/3.497, allocations: 270 kB / 3.04 GB, free: 40.49 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/3.497, allocations: 394.3 kB / 3.041 GB, free: 40.07 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/3.498, allocations: 338.8 kB / 3.041 GB, free: 39.74 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/3.498, allocations: 3.906 kB / 3.041 GB, free: 39.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00164/3.499, allocations: 0.8703 MB / 3.042 GB, free: 38.85 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/3.499, allocations: 7.938 kB / 3.042 GB, free: 38.84 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/3.499, allocations: 3.984 kB / 3.042 GB, free: 38.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/3.5, allocations: 84.84 kB / 3.042 GB, free: 38.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/3.501, allocations: 195.6 kB / 3.042 GB, free: 38.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/3.502, allocations: 1.469 MB / 3.044 GB, free: 36.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/3.503, allocations: 79.44 kB / 3.044 GB, free: 36.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/3.503, allocations: 31.97 kB / 3.044 GB, free: 36.86 MB / 1.151 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.0001574/3.503, allocations: 124.8 kB / 3.044 GB, free: 36.73 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/3.503, allocations: 82.97 kB / 3.044 GB, free: 36.65 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/3.506, allocations: 1.209 MB / 3.045 GB, free: 35.43 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/3.506, allocations: 12 kB / 3.045 GB, free: 35.41 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/3.506, allocations: 0 / 3.045 GB, free: 35.41 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/3.506, allocations: 3.984 kB / 3.045 GB, free: 35.41 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/3.509, allocations: 2.224 MB / 3.047 GB, free: 33.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/3.509, allocations: 0 / 3.047 GB, free: 33.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/3.51, allocations: 179.8 kB / 3.047 GB, free: 32.96 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004906/3.51, allocations: 92.75 kB / 3.048 GB, free: 32.87 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.283e-05/3.51, allocations: 19.98 kB / 3.048 GB, free: 32.85 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/3.511, allocations: 1.485 MB / 3.049 GB, free: 31.25 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/3.511, allocations: 0 / 3.049 GB, free: 31.25 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001524/3.513, allocations: 1.002 MB / 3.05 GB, free: 30.22 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00162/3.515, allocations: 1.424 MB / 3.051 GB, free: 28.77 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/3.515, allocations: 331.5 kB / 3.052 GB, free: 28.43 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/3.515, allocations: 8 kB / 3.052 GB, free: 28.42 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/3.516, allocations: 63.94 kB / 3.052 GB, free: 28.36 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/3.516, allocations: 64.81 kB / 3.052 GB, free: 28.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/3.516, allocations: 35.97 kB / 3.052 GB, free: 28.26 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004439/3.517, allocations: 491.1 kB / 3.052 GB, free: 27.79 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001651/3.518, allocations: 498.5 kB / 3.053 GB, free: 27.3 MB / 1.151 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.001442/3.52, allocations: 1.035 MB / 3.054 GB, free: 26.36 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001169/3.521, allocations: 0.8423 MB / 3.055 GB, free: 25.51 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/3.521, allocations: 4.062 kB / 3.055 GB, free: 25.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/3.522, allocations: 0.5287 MB / 3.055 GB, free: 24.97 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009207/3.522, allocations: 219.3 kB / 3.055 GB, free: 24.76 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/3.526, allocations: 1.705 MB / 3.057 GB, free: 23.02 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007994/3.527, allocations: 1.282 MB / 3.058 GB, free: 21.71 MB / 1.151 GB Notification: Performance of SimCode: time 2.6e-07/3.527, allocations: 0 / 3.058 GB, free: 21.71 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat does not exist to compare? outputFormat=mat