Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.863/1.863, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009576/0.0009575, allocations: 179.9 kB / 487 MB, free: 5.387 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.198/1.198, allocations: 221.3 MB / 0.7819 GB, free: 1.5 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.0008229/0.0008228, allocations: 101.7 kB / 0.9213 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4301/0.4309, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.6184, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.564/3.182, allocations: 1.73 GB / 2.936 GB, free: 103.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/3.182, allocations: 91.77 kB / 2.936 GB, free: 103.3 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.1333/3.316, allocations: 70.03 MB / 3.004 GB, free: 37.68 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/3.316, allocations: 8 kB / 3.004 GB, free: 37.67 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009934/3.317, allocations: 234.3 kB / 3.004 GB, free: 37.44 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007957/3.317, allocations: 0.6231 MB / 3.005 GB, free: 36.78 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/3.318, allocations: 32 kB / 3.005 GB, free: 36.75 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/3.318, allocations: 52 kB / 3.005 GB, free: 36.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001221/3.319, allocations: 1.026 MB / 3.006 GB, free: 35.67 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/3.32, allocations: 0.7732 MB / 3.007 GB, free: 34.86 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/3.32, allocations: 4 kB / 3.007 GB, free: 34.86 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/3.32, allocations: 0 / 3.007 GB, free: 34.86 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/3.32, allocations: 27.91 kB / 3.007 GB, free: 34.83 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/3.323, allocations: 2.351 MB / 3.009 GB, free: 32.43 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/3.325, allocations: 0.7847 MB / 3.01 GB, free: 31.61 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/3.325, allocations: 242.8 kB / 3.01 GB, free: 31.37 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.557e-05/3.325, allocations: 40.61 kB / 3.01 GB, free: 31.33 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004191/3.325, allocations: 385.9 kB / 3.011 GB, free: 30.93 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.365e-06/3.325, allocations: 0 / 3.011 GB, free: 30.93 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001343/3.327, allocations: 0.6405 MB / 3.011 GB, free: 30.28 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/3.327, allocations: 240 kB / 3.011 GB, free: 29.99 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/3.327, allocations: 0.4905 MB / 3.012 GB, free: 29.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/3.327, allocations: 29.7 kB / 3.012 GB, free: 29.46 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/3.328, allocations: 327.9 kB / 3.012 GB, free: 29.13 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/3.328, allocations: 228.5 kB / 3.012 GB, free: 28.91 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/3.328, allocations: 4 kB / 3.012 GB, free: 28.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/3.328, allocations: 374.8 kB / 3.013 GB, free: 28.53 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/3.328, allocations: 189.3 kB / 3.013 GB, free: 28.34 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/3.328, allocations: 294.4 kB / 3.013 GB, free: 28.02 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/3.329, allocations: 239.1 kB / 3.014 GB, free: 27.79 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/3.329, allocations: 0 / 3.014 GB, free: 27.79 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00124/3.33, allocations: 0.6443 MB / 3.014 GB, free: 27.14 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/3.33, allocations: 8 kB / 3.014 GB, free: 27.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/3.33, allocations: 3.938 kB / 3.014 GB, free: 27.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/3.33, allocations: 84.83 kB / 3.014 GB, free: 27.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/3.331, allocations: 143.7 kB / 3.014 GB, free: 26.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/3.333, allocations: 1.457 MB / 3.016 GB, free: 25.32 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/3.333, allocations: 71.61 kB / 3.016 GB, free: 25.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/3.333, allocations: 31.95 kB / 3.016 GB, free: 25.22 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.0001366/3.333, allocations: 116.9 kB / 3.016 GB, free: 25.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.603e-05/3.333, allocations: 71.06 kB / 3.016 GB, free: 25.03 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/3.335, allocations: 0.9126 MB / 3.017 GB, free: 24.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/3.335, allocations: 8 kB / 3.017 GB, free: 24.09 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/3.335, allocations: 0 / 3.017 GB, free: 24.09 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/3.335, allocations: 3.984 kB / 3.017 GB, free: 24.09 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/3.338, allocations: 1.717 MB / 3.019 GB, free: 22.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/3.338, allocations: 0 / 3.019 GB, free: 22.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/3.338, allocations: 151.8 kB / 3.019 GB, free: 22.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000499/3.339, allocations: 80.78 kB / 3.019 GB, free: 22.09 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/3.339, allocations: 15.98 kB / 3.019 GB, free: 22.08 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/3.34, allocations: 1.477 MB / 3.02 GB, free: 20.48 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/3.34, allocations: 0 / 3.02 GB, free: 20.48 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001243/3.341, allocations: 0.8168 MB / 3.021 GB, free: 19.64 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001374/3.343, allocations: 1.239 MB / 3.022 GB, free: 18.38 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/3.343, allocations: 275.8 kB / 3.023 GB, free: 18.09 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/3.343, allocations: 4 kB / 3.023 GB, free: 18.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/3.344, allocations: 59.94 kB / 3.023 GB, free: 18.03 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/3.344, allocations: 52.64 kB / 3.023 GB, free: 17.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/3.344, allocations: 31.98 kB / 3.023 GB, free: 17.95 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003775/3.344, allocations: 402.9 kB / 3.023 GB, free: 17.55 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001513/3.346, allocations: 419 kB / 3.024 GB, free: 17.14 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.001301/3.347, allocations: 1.057 MB / 3.025 GB, free: 16.19 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009504/3.348, allocations: 0.6429 MB / 3.025 GB, free: 15.54 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/3.348, allocations: 0 / 3.025 GB, free: 15.54 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/3.349, allocations: 444.6 kB / 3.026 GB, free: 15.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008714/3.35, allocations: 215 kB / 3.026 GB, free: 14.89 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/3.353, allocations: 1.374 MB / 3.027 GB, free: 13.48 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/3.353, allocations: 1.142 MB / 3.028 GB, free: 12.31 MB / 1.151 GB Notification: Performance of SimCode: time 3.3e-07/3.353, allocations: 0 / 3.028 GB, free: 12.31 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat does not exist to compare? outputFormat=mat