Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.825/1.825, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.000968/0.000968, allocations: 173.3 kB / 487 MB, free: 5.355 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.167/1.167, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0008712/0.0008713, allocations: 93.03 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4388/0.4398, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.6338, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.679/3.313, allocations: 1.731 GB / 2.936 GB, free: 127.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/3.313, allocations: 87.95 kB / 2.936 GB, free: 127.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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.1342/3.447, allocations: 61.77 MB / 2.996 GB, free: 65.45 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/3.447, allocations: 12 kB / 2.996 GB, free: 65.44 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008813/3.448, allocations: 202.5 kB / 2.997 GB, free: 65.24 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/3.449, allocations: 0.6231 MB / 2.997 GB, free: 64.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/3.449, allocations: 24 kB / 2.997 GB, free: 64.55 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/3.449, allocations: 48 kB / 2.997 GB, free: 64.51 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001287/3.45, allocations: 1.015 MB / 2.998 GB, free: 63.49 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/3.451, allocations: 0.7467 MB / 2.999 GB, free: 62.71 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/3.451, allocations: 0 / 2.999 GB, free: 62.71 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/3.451, allocations: 3.906 kB / 2.999 GB, free: 62.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/3.451, allocations: 24 kB / 2.999 GB, free: 62.68 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/3.455, allocations: 2.418 MB / 3.001 GB, free: 60.21 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/3.456, allocations: 0.7885 MB / 3.002 GB, free: 59.38 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/3.457, allocations: 250.7 kB / 3.002 GB, free: 59.13 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-05/3.457, allocations: 36.59 kB / 3.003 GB, free: 59.09 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005008/3.457, allocations: 398 kB / 3.003 GB, free: 58.69 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/3.457, allocations: 0 / 3.003 GB, free: 58.69 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001523/3.459, allocations: 0.6638 MB / 3.004 GB, free: 58.01 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/3.459, allocations: 243.9 kB / 3.004 GB, free: 57.72 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/3.459, allocations: 0.5022 MB / 3.004 GB, free: 57.21 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/3.459, allocations: 29.7 kB / 3.004 GB, free: 57.18 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/3.46, allocations: 300.2 kB / 3.005 GB, free: 56.88 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/3.46, allocations: 240.4 kB / 3.005 GB, free: 56.64 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/3.46, allocations: 0 / 3.005 GB, free: 56.64 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/3.46, allocations: 386.7 kB / 3.005 GB, free: 56.25 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/3.46, allocations: 193.3 kB / 3.005 GB, free: 56.06 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/3.461, allocations: 298.4 kB / 3.006 GB, free: 55.74 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/3.461, allocations: 255 kB / 3.006 GB, free: 55.49 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/3.461, allocations: 0 / 3.006 GB, free: 55.49 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001447/3.462, allocations: 0.6795 MB / 3.007 GB, free: 54.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/3.462, allocations: 4 kB / 3.007 GB, free: 54.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/3.462, allocations: 0 / 3.007 GB, free: 54.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/3.463, allocations: 84.78 kB / 3.007 GB, free: 54.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/3.464, allocations: 147.8 kB / 3.007 GB, free: 54.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/3.465, allocations: 1.453 MB / 3.008 GB, free: 52.99 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/3.466, allocations: 75.38 kB / 3.008 GB, free: 52.92 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/3.466, allocations: 32.05 kB / 3.008 GB, free: 52.89 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: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001337/3.466, allocations: 118.3 kB / 3.008 GB, free: 52.77 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/3.466, allocations: 71.16 kB / 3.008 GB, free: 52.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/3.469, allocations: 0.9838 MB / 3.009 GB, free: 51.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/3.469, allocations: 8 kB / 3.009 GB, free: 51.69 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/3.469, allocations: 0 / 3.009 GB, free: 51.69 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/3.469, allocations: 3.984 kB / 3.009 GB, free: 51.68 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/3.471, allocations: 1.753 MB / 3.011 GB, free: 49.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/3.471, allocations: 0 / 3.011 GB, free: 49.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/3.472, allocations: 163.8 kB / 3.011 GB, free: 49.72 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/3.472, allocations: 88.78 kB / 3.011 GB, free: 49.63 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/3.472, allocations: 19.89 kB / 3.011 GB, free: 49.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/3.474, allocations: 1.48 MB / 3.013 GB, free: 48.01 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/3.474, allocations: 0 / 3.013 GB, free: 48.01 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001401/3.475, allocations: 0.8557 MB / 3.014 GB, free: 47.13 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00155/3.477, allocations: 1.274 MB / 3.015 GB, free: 45.84 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/3.477, allocations: 287.7 kB / 3.015 GB, free: 45.54 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/3.477, allocations: 0 / 3.015 GB, free: 45.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/3.478, allocations: 63.94 kB / 3.015 GB, free: 45.47 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/3.478, allocations: 52.7 kB / 3.015 GB, free: 45.42 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/3.478, allocations: 31.97 kB / 3.015 GB, free: 45.39 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004223/3.479, allocations: 410.9 kB / 3.016 GB, free: 44.99 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001788/3.48, allocations: 434.9 kB / 3.016 GB, free: 44.57 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 (93): * Single equations (assignments): 90 * 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.001517/3.482, allocations: 1.058 MB / 3.017 GB, free: 43.61 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001129/3.483, allocations: 0.6779 MB / 3.018 GB, free: 42.93 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/3.483, allocations: 0 / 3.018 GB, free: 42.93 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006562/3.484, allocations: 468.7 kB / 3.018 GB, free: 42.46 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/3.485, allocations: 213.8 kB / 3.019 GB, free: 42.26 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/3.488, allocations: 1.374 MB / 3.02 GB, free: 40.85 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000724/3.489, allocations: 1.143 MB / 3.021 GB, free: 39.68 MB / 1.151 GB Notification: Performance of SimCode: time 9.42e-07/3.489, allocations: 0 / 3.021 GB, free: 39.68 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat does not exist to compare? outputFormat=mat