Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.833/1.833, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.0009446/0.0009446, allocations: 177 kB / 487 MB, free: 5.426 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.17/1.17, allocations: 221.3 MB / 0.7819 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008113/0.0008115, allocations: 99.11 kB / 0.9213 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4201/0.421, allocations: 148.4 MB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.6096, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.551/3.16, allocations: 1.732 GB / 2.937 GB, free: 126.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/3.161, allocations: 95.88 kB / 2.937 GB, free: 126.5 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.143/3.304, allocations: 71.36 MB / 3.007 GB, free: 54.86 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/3.304, allocations: 9 kB / 3.007 GB, free: 54.85 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/3.305, allocations: 222.3 kB / 3.007 GB, free: 54.63 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/3.306, allocations: 0.6502 MB / 3.008 GB, free: 53.94 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/3.306, allocations: 32 kB / 3.008 GB, free: 53.91 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/3.306, allocations: 52 kB / 3.008 GB, free: 53.86 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001469/3.308, allocations: 1.062 MB / 3.009 GB, free: 52.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/3.309, allocations: 0.8208 MB / 3.01 GB, free: 51.94 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/3.309, allocations: 7.844 kB / 3.01 GB, free: 51.93 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.507e-05/3.309, allocations: 4 kB / 3.01 GB, free: 51.93 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/3.309, allocations: 24 kB / 3.01 GB, free: 51.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003655/3.313, allocations: 2.684 MB / 3.012 GB, free: 49.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009392/3.314, allocations: 0.698 MB / 3.013 GB, free: 48.43 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/3.314, allocations: 266.8 kB / 3.013 GB, free: 48.17 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.176e-05/3.314, allocations: 36.59 kB / 3.013 GB, free: 48.13 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004695/3.315, allocations: 414.1 kB / 3.014 GB, free: 47.71 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 2.074e-06/3.315, allocations: 0 / 3.014 GB, free: 47.71 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.001703/3.316, allocations: 0.7184 MB / 3.014 GB, free: 46.98 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/3.316, allocations: 248 kB / 3.014 GB, free: 46.68 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/3.317, allocations: 0.514 MB / 3.015 GB, free: 46.16 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/3.317, allocations: 29.7 kB / 3.015 GB, free: 46.13 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/3.317, allocations: 332.1 kB / 3.015 GB, free: 45.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/3.317, allocations: 260.1 kB / 3.016 GB, free: 45.54 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/3.317, allocations: 0 / 3.016 GB, free: 45.54 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/3.317, allocations: 378.7 kB / 3.016 GB, free: 45.16 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/3.318, allocations: 217.5 kB / 3.016 GB, free: 44.95 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/3.318, allocations: 311.5 kB / 3.016 GB, free: 44.61 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/3.319, allocations: 304.4 kB / 3.017 GB, free: 44.32 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/3.319, allocations: 0 / 3.017 GB, free: 44.32 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001619/3.32, allocations: 0.7446 MB / 3.017 GB, free: 43.56 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/3.32, allocations: 8 kB / 3.017 GB, free: 43.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/3.32, allocations: 0 / 3.017 GB, free: 43.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/3.321, allocations: 80.84 kB / 3.018 GB, free: 43.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/3.321, allocations: 159.8 kB / 3.018 GB, free: 43.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/3.323, allocations: 1.461 MB / 3.019 GB, free: 41.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/3.324, allocations: 63.59 kB / 3.019 GB, free: 41.67 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/3.324, allocations: 31.98 kB / 3.019 GB, free: 41.64 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.0001346/3.324, allocations: 120.8 kB / 3.019 GB, free: 41.52 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/3.324, allocations: 75.06 kB / 3.019 GB, free: 41.44 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/3.326, allocations: 1.066 MB / 3.02 GB, free: 40.36 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/3.326, allocations: 11.91 kB / 3.02 GB, free: 40.35 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/3.326, allocations: 4 kB / 3.02 GB, free: 40.34 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/3.326, allocations: 7.969 kB / 3.02 GB, free: 40.34 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/3.329, allocations: 1.866 MB / 3.022 GB, free: 38.42 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/3.329, allocations: 0 / 3.022 GB, free: 38.42 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006478/3.33, allocations: 171.7 kB / 3.022 GB, free: 38.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/3.33, allocations: 84.78 kB / 3.023 GB, free: 38.17 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/3.33, allocations: 11.98 kB / 3.023 GB, free: 38.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/3.332, allocations: 1.484 MB / 3.024 GB, free: 36.55 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/3.332, allocations: 0 / 3.024 GB, free: 36.55 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001556/3.333, allocations: 0.9065 MB / 3.025 GB, free: 35.62 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001735/3.335, allocations: 1.325 MB / 3.026 GB, free: 34.27 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/3.335, allocations: 295.7 kB / 3.026 GB, free: 33.96 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/3.335, allocations: 0 / 3.026 GB, free: 33.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/3.336, allocations: 59.94 kB / 3.027 GB, free: 33.91 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/3.336, allocations: 64.56 kB / 3.027 GB, free: 33.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/3.336, allocations: 31.98 kB / 3.027 GB, free: 33.81 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004863/3.337, allocations: 435.1 kB / 3.027 GB, free: 33.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001727/3.339, allocations: 450.8 kB / 3.027 GB, free: 32.95 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.001516/3.34, allocations: 1.077 MB / 3.029 GB, free: 31.98 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001071/3.341, allocations: 0.6943 MB / 3.029 GB, free: 31.27 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/3.341, allocations: 0 / 3.029 GB, free: 31.27 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006387/3.342, allocations: 480.5 kB / 3.03 GB, free: 30.79 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009214/3.343, allocations: 209.9 kB / 3.03 GB, free: 30.59 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/3.346, allocations: 1.446 MB / 3.031 GB, free: 29.12 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/3.347, allocations: 1.177 MB / 3.032 GB, free: 27.91 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/3.347, allocations: 0 / 3.032 GB, free: 27.91 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat does not exist to compare? outputFormat=mat