Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.814/1.814, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009449/0.0009449, allocations: 180.4 kB / 490.8 MB, free: 1.891 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.168/1.168, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.0008465/0.0008465, allocations: 87.31 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4253/0.4262, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.6066, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.668/3.275, allocations: 1.731 GB / 2.943 GB, free: 115.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/3.275, allocations: 88.33 kB / 2.943 GB, free: 115.2 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.1346/3.41, allocations: 70.04 MB / 3.011 GB, free: 50.62 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/3.41, allocations: 12 kB / 3.011 GB, free: 50.61 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009927/3.411, allocations: 234.3 kB / 3.012 GB, free: 50.38 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/3.412, allocations: 0.627 MB / 3.012 GB, free: 49.71 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/3.412, allocations: 28 kB / 3.012 GB, free: 49.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.676e-05/3.412, allocations: 48 kB / 3.012 GB, free: 49.63 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00119/3.413, allocations: 1.026 MB / 3.013 GB, free: 48.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009967/3.414, allocations: 0.7771 MB / 3.014 GB, free: 47.79 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/3.414, allocations: 0 / 3.014 GB, free: 47.79 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/3.414, allocations: 4 kB / 3.014 GB, free: 47.79 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/3.414, allocations: 20 kB / 3.014 GB, free: 47.77 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/3.417, allocations: 2.34 MB / 3.016 GB, free: 45.38 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/3.418, allocations: 0.7986 MB / 3.017 GB, free: 44.55 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/3.419, allocations: 246.8 kB / 3.017 GB, free: 44.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.487e-05/3.419, allocations: 32.69 kB / 3.017 GB, free: 44.27 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/3.419, allocations: 389.9 kB / 3.018 GB, free: 43.87 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 1.673e-06/3.419, allocations: 4 kB / 3.018 GB, free: 43.87 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001317/3.421, allocations: 0.6288 MB / 3.018 GB, free: 43.23 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/3.421, allocations: 244 kB / 3.019 GB, free: 42.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/3.421, allocations: 0.4944 MB / 3.019 GB, free: 42.43 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/3.421, allocations: 25.7 kB / 3.019 GB, free: 42.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/3.421, allocations: 327.9 kB / 3.019 GB, free: 42.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/3.421, allocations: 232.5 kB / 3.02 GB, free: 41.84 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/3.421, allocations: 0 / 3.02 GB, free: 41.84 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/3.421, allocations: 374.8 kB / 3.02 GB, free: 41.47 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/3.422, allocations: 189.3 kB / 3.02 GB, free: 41.29 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/3.422, allocations: 298.4 kB / 3.02 GB, free: 40.96 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/3.422, allocations: 235.1 kB / 3.021 GB, free: 40.73 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/3.422, allocations: 4 kB / 3.021 GB, free: 40.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001263/3.424, allocations: 0.6443 MB / 3.021 GB, free: 40.08 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/3.424, allocations: 4 kB / 3.021 GB, free: 40.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/3.424, allocations: 0 / 3.021 GB, free: 40.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/3.424, allocations: 84.83 kB / 3.021 GB, free: 39.99 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/3.425, allocations: 143.8 kB / 3.022 GB, free: 39.85 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/3.426, allocations: 1.457 MB / 3.023 GB, free: 38.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/3.427, allocations: 67.61 kB / 3.023 GB, free: 38.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/3.427, allocations: 27.97 kB / 3.023 GB, free: 38.17 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 (75): * Single equations (assignments): 74 * 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.0001226/3.427, allocations: 123.1 kB / 3.023 GB, free: 38.05 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/3.427, allocations: 75.14 kB / 3.023 GB, free: 37.97 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/3.429, allocations: 0.9126 MB / 3.024 GB, free: 37.05 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/3.429, allocations: 11.91 kB / 3.024 GB, free: 37.04 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/3.429, allocations: 4 kB / 3.024 GB, free: 37.03 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/3.429, allocations: 3.984 kB / 3.024 GB, free: 37.03 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/3.431, allocations: 1.713 MB / 3.026 GB, free: 35.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/3.431, allocations: 0 / 3.026 GB, free: 35.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005585/3.432, allocations: 147.8 kB / 3.026 GB, free: 35.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/3.432, allocations: 80.78 kB / 3.026 GB, free: 35.04 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/3.432, allocations: 15.98 kB / 3.026 GB, free: 35.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/3.434, allocations: 1.485 MB / 3.027 GB, free: 33.42 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/3.434, allocations: 4 kB / 3.027 GB, free: 33.41 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001252/3.435, allocations: 0.8128 MB / 3.028 GB, free: 32.59 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001354/3.436, allocations: 1.235 MB / 3.029 GB, free: 31.32 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/3.437, allocations: 279.8 kB / 3.03 GB, free: 31.03 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/3.437, allocations: 3.938 kB / 3.03 GB, free: 31.03 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000569/3.437, allocations: 59.94 kB / 3.03 GB, free: 30.97 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/3.437, allocations: 44.7 kB / 3.03 GB, free: 30.93 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/3.437, allocations: 35.98 kB / 3.03 GB, free: 30.89 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003376/3.438, allocations: 402.9 kB / 3.03 GB, free: 30.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001416/3.439, allocations: 422.9 kB / 3.031 GB, free: 30.09 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 (85): * Single equations (assignments): 82 * 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.001309/3.44, allocations: 1.059 MB / 3.032 GB, free: 29.13 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009035/3.441, allocations: 0.6431 MB / 3.032 GB, free: 28.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/3.441, allocations: 0 / 3.032 GB, free: 28.48 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000549/3.442, allocations: 444.5 kB / 3.033 GB, free: 28.04 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/3.443, allocations: 205 kB / 3.033 GB, free: 27.84 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/3.446, allocations: 1.378 MB / 3.034 GB, free: 26.43 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005942/3.446, allocations: 1.152 MB / 3.035 GB, free: 25.25 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/3.446, allocations: 0 / 3.035 GB, free: 25.25 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat does not exist to compare? outputFormat=mat