Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.83/1.83, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009729/0.0009729, allocations: 176.4 kB / 490.8 MB, free: 1.918 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.139/1.139, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.0008585/0.0008585, allocations: 84.66 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4285/0.4294, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.6169, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.715/3.332, allocations: 1.732 GB / 2.944 GB, free: 139.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/3.332, allocations: 99.88 kB / 2.944 GB, free: 139.1 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.1399/3.472, allocations: 71.36 MB / 3.014 GB, free: 67.38 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/3.472, allocations: 15.98 kB / 3.014 GB, free: 67.36 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000873/3.473, allocations: 210.4 kB / 3.014 GB, free: 67.16 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009307/3.474, allocations: 0.6502 MB / 3.015 GB, free: 66.46 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/3.474, allocations: 32 kB / 3.015 GB, free: 66.43 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/3.474, allocations: 52 kB / 3.015 GB, free: 66.38 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001332/3.476, allocations: 1.066 MB / 3.016 GB, free: 65.31 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/3.477, allocations: 0.8247 MB / 3.017 GB, free: 64.45 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/3.477, allocations: 0 / 3.017 GB, free: 64.45 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/3.477, allocations: 0 / 3.017 GB, free: 64.45 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/3.477, allocations: 27.91 kB / 3.017 GB, free: 64.42 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003249/3.48, allocations: 2.673 MB / 3.019 GB, free: 61.68 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/3.481, allocations: 0.7135 MB / 3.02 GB, free: 60.95 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/3.481, allocations: 258.8 kB / 3.02 GB, free: 60.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.82e-05/3.481, allocations: 36.59 kB / 3.02 GB, free: 60.66 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/3.482, allocations: 414.1 kB / 3.021 GB, free: 60.23 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 1.733e-06/3.482, allocations: 0 / 3.021 GB, free: 60.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.001633/3.483, allocations: 0.7224 MB / 3.021 GB, free: 59.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/3.483, allocations: 248 kB / 3.022 GB, free: 59.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/3.484, allocations: 0.5063 MB / 3.022 GB, free: 58.69 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/3.484, allocations: 29.7 kB / 3.022 GB, free: 58.66 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/3.484, allocations: 336 kB / 3.022 GB, free: 58.32 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/3.484, allocations: 256.2 kB / 3.023 GB, free: 58.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/3.484, allocations: 0 / 3.023 GB, free: 58.07 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/3.484, allocations: 378.7 kB / 3.023 GB, free: 57.69 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/3.485, allocations: 217.5 kB / 3.023 GB, free: 57.48 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/3.485, allocations: 319.5 kB / 3.024 GB, free: 57.13 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/3.486, allocations: 300.4 kB / 3.024 GB, free: 56.84 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/3.486, allocations: 4 kB / 3.024 GB, free: 56.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001529/3.487, allocations: 0.7368 MB / 3.025 GB, free: 56.09 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/3.487, allocations: 8 kB / 3.025 GB, free: 56.08 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/3.487, allocations: 0 / 3.025 GB, free: 56.08 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/3.488, allocations: 84.78 kB / 3.025 GB, free: 56 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/3.488, allocations: 159.8 kB / 3.025 GB, free: 55.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/3.49, allocations: 1.457 MB / 3.026 GB, free: 54.26 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/3.49, allocations: 75.58 kB / 3.026 GB, free: 54.19 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/3.491, allocations: 31.98 kB / 3.026 GB, free: 54.16 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (84): * Single equations (assignments): 83 * 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.0001283/3.491, allocations: 116.8 kB / 3.026 GB, free: 54.04 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/3.491, allocations: 75.06 kB / 3.027 GB, free: 53.96 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/3.493, allocations: 1.058 MB / 3.028 GB, free: 52.89 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/3.493, allocations: 15.98 kB / 3.028 GB, free: 52.87 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/3.493, allocations: 0 / 3.028 GB, free: 52.87 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/3.493, allocations: 7.891 kB / 3.028 GB, free: 52.86 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/3.496, allocations: 1.873 MB / 3.029 GB, free: 50.94 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/3.496, allocations: 0 / 3.029 GB, free: 50.94 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006198/3.496, allocations: 167.8 kB / 3.03 GB, free: 50.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004852/3.497, allocations: 88.77 kB / 3.03 GB, free: 50.69 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/3.497, allocations: 11.98 kB / 3.03 GB, free: 50.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/3.498, allocations: 1.485 MB / 3.031 GB, free: 49.07 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/3.498, allocations: 0 / 3.031 GB, free: 49.07 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001489/3.5, allocations: 0.9064 MB / 3.032 GB, free: 48.14 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00161/3.501, allocations: 1.325 MB / 3.033 GB, free: 46.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/3.502, allocations: 295.7 kB / 3.034 GB, free: 46.49 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/3.502, allocations: 3.984 kB / 3.034 GB, free: 46.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/3.502, allocations: 55.95 kB / 3.034 GB, free: 46.43 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/3.502, allocations: 60.69 kB / 3.034 GB, free: 46.37 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-05/3.502, allocations: 27.98 kB / 3.034 GB, free: 46.34 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003631/3.503, allocations: 435.1 kB / 3.034 GB, free: 45.92 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001514/3.504, allocations: 462.8 kB / 3.035 GB, free: 45.46 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 (94): * Single equations (assignments): 91 * 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.001322/3.506, allocations: 1.071 MB / 3.036 GB, free: 44.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009981/3.507, allocations: 0.6942 MB / 3.036 GB, free: 43.79 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/3.507, allocations: 0 / 3.036 GB, free: 43.79 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005939/3.507, allocations: 480.6 kB / 3.037 GB, free: 43.32 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000885/3.508, allocations: 213.1 kB / 3.037 GB, free: 43.11 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/3.511, allocations: 1.44 MB / 3.038 GB, free: 41.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006347/3.512, allocations: 1.183 MB / 3.04 GB, free: 40.43 MB / 1.151 GB Notification: Performance of SimCode: time 2.7e-07/3.512, allocations: 0 / 3.04 GB, free: 40.43 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat does not exist to compare? outputFormat=mat