Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.818/1.818, allocations: 390.4 MB / 397.6 MB, free: 11.28 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.0009734/0.0009734, allocations: 191.9 kB / 490.8 MB, free: 1.977 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.145/1.145, allocations: 221.3 MB / 0.7863 GB, free: 13.79 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.0008232/0.0008232, allocations: 94.78 kB / 0.9264 GB, free: 14.33 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4338/0.4347, allocations: 149.1 MB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.6201, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.63/3.25, allocations: 1.731 GB / 2.942 GB, free: 130.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/3.25, allocations: 87.95 kB / 2.942 GB, free: 130.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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.1225/3.373, allocations: 60.94 MB / 3.002 GB, free: 69.03 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/3.373, allocations: 12 kB / 3.002 GB, free: 69.02 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/3.374, allocations: 194.5 kB / 3.002 GB, free: 68.82 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/3.375, allocations: 0.6115 MB / 3.003 GB, free: 68.17 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/3.375, allocations: 28 kB / 3.003 GB, free: 68.14 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/3.375, allocations: 44 kB / 3.003 GB, free: 68.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001319/3.376, allocations: 0.9874 MB / 3.004 GB, free: 67.11 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/3.377, allocations: 0.7194 MB / 3.005 GB, free: 66.35 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/3.377, allocations: 3.906 kB / 3.005 GB, free: 66.35 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/3.377, allocations: 8 kB / 3.005 GB, free: 66.34 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/3.377, allocations: 20 kB / 3.005 GB, free: 66.32 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/3.381, allocations: 2.27 MB / 3.007 GB, free: 64 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008698/3.381, allocations: 0.7222 MB / 3.007 GB, free: 63.25 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/3.382, allocations: 246.7 kB / 3.008 GB, free: 63 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.408e-05/3.382, allocations: 32.67 kB / 3.008 GB, free: 62.97 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/3.382, allocations: 374.1 kB / 3.008 GB, free: 62.59 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/3.382, allocations: 0 / 3.008 GB, free: 62.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001386/3.384, allocations: 0.6404 MB / 3.009 GB, free: 61.93 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/3.384, allocations: 244 kB / 3.009 GB, free: 61.64 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/3.384, allocations: 0.4945 MB / 3.009 GB, free: 61.14 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/3.384, allocations: 29.7 kB / 3.009 GB, free: 61.11 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/3.384, allocations: 300.1 kB / 3.01 GB, free: 60.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/3.385, allocations: 236.4 kB / 3.01 GB, free: 60.57 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/3.385, allocations: 0 / 3.01 GB, free: 60.57 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.044e-05/3.385, allocations: 378.7 kB / 3.01 GB, free: 60.19 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/3.385, allocations: 181.3 kB / 3.011 GB, free: 60.02 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/3.385, allocations: 299.3 kB / 3.011 GB, free: 59.69 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/3.386, allocations: 239.1 kB / 3.011 GB, free: 59.46 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/3.386, allocations: 0 / 3.011 GB, free: 59.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00129/3.387, allocations: 0.6482 MB / 3.012 GB, free: 58.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/3.387, allocations: 6.656 kB / 3.012 GB, free: 58.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/3.387, allocations: 4 kB / 3.012 GB, free: 58.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000597/3.388, allocations: 80.81 kB / 3.012 GB, free: 58.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/3.388, allocations: 139.8 kB / 3.012 GB, free: 58.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/3.39, allocations: 1.461 MB / 3.013 GB, free: 56.99 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/3.39, allocations: 63.61 kB / 3.013 GB, free: 56.93 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/3.39, allocations: 27.98 kB / 3.013 GB, free: 56.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.000125/3.39, allocations: 112.9 kB / 3.014 GB, free: 56.78 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/3.39, allocations: 79 kB / 3.014 GB, free: 56.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/3.392, allocations: 0.9246 MB / 3.014 GB, free: 55.76 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/3.392, allocations: 16 kB / 3.015 GB, free: 55.75 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/3.392, allocations: 0 / 3.015 GB, free: 55.75 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/3.392, allocations: 7.969 kB / 3.015 GB, free: 55.74 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/3.395, allocations: 1.69 MB / 3.016 GB, free: 54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/3.395, allocations: 0 / 3.016 GB, free: 54 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/3.395, allocations: 155.8 kB / 3.016 GB, free: 53.85 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004976/3.396, allocations: 80.78 kB / 3.016 GB, free: 53.77 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/3.396, allocations: 19.98 kB / 3.016 GB, free: 53.75 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/3.397, allocations: 1.481 MB / 3.018 GB, free: 52.15 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/3.397, allocations: 0 / 3.018 GB, free: 52.15 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001272/3.399, allocations: 0.8206 MB / 3.019 GB, free: 51.31 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001393/3.4, allocations: 1.239 MB / 3.02 GB, free: 50.05 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/3.4, allocations: 279.8 kB / 3.02 GB, free: 49.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/3.4, allocations: 3.906 kB / 3.02 GB, free: 49.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/3.401, allocations: 59.89 kB / 3.02 GB, free: 49.69 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/3.401, allocations: 52.69 kB / 3.02 GB, free: 49.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/3.401, allocations: 31.98 kB / 3.02 GB, free: 49.61 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003471/3.401, allocations: 406.9 kB / 3.021 GB, free: 49.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001515/3.403, allocations: 407.1 kB / 3.021 GB, free: 48.81 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 (87): * Single equations (assignments): 84 * 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.001518/3.404, allocations: 1.058 MB / 3.022 GB, free: 47.87 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009695/3.405, allocations: 0.6431 MB / 3.023 GB, free: 47.21 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/3.405, allocations: 3.984 kB / 3.023 GB, free: 47.21 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005939/3.406, allocations: 448.5 kB / 3.023 GB, free: 46.77 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008749/3.407, allocations: 212 kB / 3.023 GB, free: 46.56 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/3.41, allocations: 1.335 MB / 3.025 GB, free: 45.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/3.411, allocations: 1.131 MB / 3.026 GB, free: 44.03 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/3.411, allocations: 0 / 3.026 GB, free: 44.03 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat does not exist to compare? outputFormat=mat