Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.839/1.839, allocations: 390.4 MB / 397.7 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.0009233/0.0009234, allocations: 181.2 kB / 490.8 MB, free: 1.953 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.174/1.174, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0008182/0.0008184, allocations: 84.73 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4692/0.47, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.6686, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.606/3.274, allocations: 1.731 GB / 2.942 GB, free: 116.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/3.274, allocations: 81.89 kB / 2.942 GB, free: 116.1 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.1296/3.404, allocations: 65.05 MB / 3.006 GB, free: 56.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/3.404, allocations: 8 kB / 3.006 GB, free: 56.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008961/3.405, allocations: 194.6 kB / 3.006 GB, free: 56.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008882/3.406, allocations: 0.6114 MB / 3.007 GB, free: 55.65 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/3.406, allocations: 24 kB / 3.007 GB, free: 55.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/3.406, allocations: 44 kB / 3.007 GB, free: 55.58 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001216/3.407, allocations: 0.9718 MB / 3.008 GB, free: 54.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/3.408, allocations: 0.7193 MB / 3.008 GB, free: 53.85 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/3.408, allocations: 0 / 3.008 GB, free: 53.85 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/3.408, allocations: 4 kB / 3.008 GB, free: 53.85 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/3.408, allocations: 20 kB / 3.008 GB, free: 53.83 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/3.411, allocations: 2.282 MB / 3.011 GB, free: 51.49 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008296/3.412, allocations: 0.727 MB / 3.011 GB, free: 50.74 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/3.412, allocations: 242.8 kB / 3.012 GB, free: 50.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/3.412, allocations: 32.61 kB / 3.012 GB, free: 50.47 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/3.413, allocations: 374 kB / 3.012 GB, free: 50.08 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 1.793e-06/3.413, allocations: 0 / 3.012 GB, free: 50.08 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001334/3.414, allocations: 0.6249 MB / 3.013 GB, free: 49.45 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/3.414, allocations: 244 kB / 3.013 GB, free: 49.15 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/3.415, allocations: 0.4943 MB / 3.013 GB, free: 48.65 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/3.415, allocations: 29.7 kB / 3.013 GB, free: 48.62 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/3.415, allocations: 292.2 kB / 3.014 GB, free: 48.32 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/3.415, allocations: 232.5 kB / 3.014 GB, free: 48.09 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/3.415, allocations: 0 / 3.014 GB, free: 48.09 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/3.415, allocations: 370.8 kB / 3.014 GB, free: 47.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/3.415, allocations: 185.3 kB / 3.014 GB, free: 47.54 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/3.416, allocations: 290.4 kB / 3.015 GB, free: 47.23 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/3.416, allocations: 235.1 kB / 3.015 GB, free: 47 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/3.416, allocations: 0 / 3.015 GB, free: 47 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001263/3.417, allocations: 0.6366 MB / 3.015 GB, free: 46.35 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/3.417, allocations: 8 kB / 3.015 GB, free: 46.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/3.417, allocations: 3.984 kB / 3.015 GB, free: 46.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/3.418, allocations: 80.84 kB / 3.016 GB, free: 46.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/3.419, allocations: 131.8 kB / 3.016 GB, free: 46.13 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/3.42, allocations: 1.468 MB / 3.017 GB, free: 44.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/3.421, allocations: 67.61 kB / 3.017 GB, free: 44.47 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/3.421, allocations: 23.98 kB / 3.017 GB, free: 44.45 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 (72): * Single equations (assignments): 71 * 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.0001199/3.421, allocations: 120.8 kB / 3.017 GB, free: 44.32 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.286e-05/3.421, allocations: 71.16 kB / 3.017 GB, free: 44.25 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/3.423, allocations: 0.8932 MB / 3.018 GB, free: 43.34 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/3.423, allocations: 8 kB / 3.018 GB, free: 43.33 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/3.423, allocations: 0 / 3.018 GB, free: 43.33 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/3.423, allocations: 3.984 kB / 3.018 GB, free: 43.33 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/3.425, allocations: 1.693 MB / 3.02 GB, free: 41.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/3.425, allocations: 4 kB / 3.02 GB, free: 41.58 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/3.426, allocations: 135.8 kB / 3.02 GB, free: 41.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004976/3.426, allocations: 84.78 kB / 3.02 GB, free: 41.36 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/3.426, allocations: 11.98 kB / 3.02 GB, free: 41.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/3.428, allocations: 1.496 MB / 3.022 GB, free: 39.74 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/3.428, allocations: 0 / 3.022 GB, free: 39.74 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001242/3.429, allocations: 0.8011 MB / 3.022 GB, free: 38.92 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001355/3.43, allocations: 1.212 MB / 3.024 GB, free: 37.68 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/3.431, allocations: 275.8 kB / 3.024 GB, free: 37.39 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/3.431, allocations: 64 / 3.024 GB, free: 37.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/3.431, allocations: 67.88 kB / 3.024 GB, free: 37.33 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/3.431, allocations: 44.7 kB / 3.024 GB, free: 37.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/3.431, allocations: 39.92 kB / 3.024 GB, free: 37.24 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003433/3.432, allocations: 398.9 kB / 3.024 GB, free: 36.86 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001518/3.433, allocations: 407 kB / 3.025 GB, free: 36.46 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 (81): * Single equations (assignments): 78 * 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.001429/3.435, allocations: 1.038 MB / 3.026 GB, free: 35.53 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009319/3.436, allocations: 0.6391 MB / 3.026 GB, free: 34.89 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/3.436, allocations: 0 / 3.026 GB, free: 34.89 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/3.436, allocations: 440.5 kB / 3.027 GB, free: 34.45 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/3.437, allocations: 209.6 kB / 3.027 GB, free: 34.25 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/3.44, allocations: 1.315 MB / 3.028 GB, free: 32.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006805/3.441, allocations: 1.113 MB / 3.029 GB, free: 31.76 MB / 1.151 GB Notification: Performance of SimCode: time 3.01e-07/3.441, allocations: 4 kB / 3.029 GB, free: 31.76 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat