Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.806/1.806, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009831/0.0009832, allocations: 180.6 kB / 487 MB, free: 5.383 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.154/1.154, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.0008136/0.0008137, allocations: 91.83 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.446/0.4468, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.6542, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.725/3.38, allocations: 1.73 GB / 2.935 GB, free: 125.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/3.38, allocations: 79.95 kB / 2.935 GB, free: 125.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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.125/3.505, allocations: 65.04 MB / 2.999 GB, free: 59.92 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/3.505, allocations: 8 kB / 2.999 GB, free: 59.91 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008101/3.506, allocations: 186.6 kB / 2.999 GB, free: 59.73 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007923/3.507, allocations: 0.6153 MB / 2.999 GB, free: 59.07 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/3.507, allocations: 24 kB / 3 GB, free: 59.05 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/3.507, allocations: 44 kB / 3 GB, free: 59.01 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001139/3.508, allocations: 0.9757 MB / 3.001 GB, free: 58.03 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009226/3.509, allocations: 0.7232 MB / 3.001 GB, free: 57.27 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/3.509, allocations: 3.938 kB / 3.001 GB, free: 57.27 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/3.509, allocations: 4 kB / 3.001 GB, free: 57.26 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/3.509, allocations: 20 kB / 3.001 GB, free: 57.24 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/3.512, allocations: 2.293 MB / 3.003 GB, free: 54.89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007845/3.512, allocations: 0.724 MB / 3.004 GB, free: 54.14 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/3.513, allocations: 246.7 kB / 3.004 GB, free: 53.89 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.117e-05/3.513, allocations: 32.69 kB / 3.004 GB, free: 53.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004126/3.513, allocations: 366.1 kB / 3.005 GB, free: 53.48 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.495e-06/3.513, allocations: 0 / 3.005 GB, free: 53.48 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001318/3.515, allocations: 0.6287 MB / 3.005 GB, free: 52.84 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/3.515, allocations: 240 kB / 3.006 GB, free: 52.55 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/3.515, allocations: 0.4982 MB / 3.006 GB, free: 52.05 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/3.515, allocations: 25.7 kB / 3.006 GB, free: 52.02 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/3.515, allocations: 292.2 kB / 3.006 GB, free: 51.73 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/3.515, allocations: 224.6 kB / 3.007 GB, free: 51.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/3.515, allocations: 4 kB / 3.007 GB, free: 51.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/3.516, allocations: 374.8 kB / 3.007 GB, free: 51.12 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/3.516, allocations: 189.3 kB / 3.007 GB, free: 50.94 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/3.516, allocations: 282.4 kB / 3.007 GB, free: 50.64 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/3.516, allocations: 239 kB / 3.008 GB, free: 50.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/3.516, allocations: 0 / 3.008 GB, free: 50.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001191/3.518, allocations: 0.6404 MB / 3.008 GB, free: 49.75 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/3.518, allocations: 4 kB / 3.008 GB, free: 49.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/3.518, allocations: 7.938 kB / 3.008 GB, free: 49.74 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/3.518, allocations: 80.84 kB / 3.008 GB, free: 49.66 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/3.519, allocations: 135.8 kB / 3.009 GB, free: 49.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/3.52, allocations: 1.461 MB / 3.01 GB, free: 47.94 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/3.521, allocations: 67.59 kB / 3.01 GB, free: 47.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/3.521, allocations: 31.89 kB / 3.01 GB, free: 47.84 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.0001169/3.521, allocations: 108.9 kB / 3.01 GB, free: 47.73 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/3.521, allocations: 75.16 kB / 3.01 GB, free: 47.66 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/3.523, allocations: 0.8931 MB / 3.011 GB, free: 46.75 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/3.523, allocations: 12 kB / 3.011 GB, free: 46.73 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/3.523, allocations: 0 / 3.011 GB, free: 46.73 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/3.523, allocations: 3.984 kB / 3.011 GB, free: 46.73 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/3.525, allocations: 1.687 MB / 3.013 GB, free: 45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/3.525, allocations: 0 / 3.013 GB, free: 45 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/3.525, allocations: 135.8 kB / 3.013 GB, free: 44.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/3.526, allocations: 92.77 kB / 3.013 GB, free: 44.77 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/3.526, allocations: 11.98 kB / 3.013 GB, free: 44.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/3.527, allocations: 1.492 MB / 3.014 GB, free: 43.15 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/3.527, allocations: 7.844 kB / 3.014 GB, free: 43.14 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001208/3.529, allocations: 0.7972 MB / 3.015 GB, free: 42.32 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001298/3.53, allocations: 1.212 MB / 3.016 GB, free: 41.09 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/3.53, allocations: 279.8 kB / 3.017 GB, free: 40.79 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/3.53, allocations: 0 / 3.017 GB, free: 40.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/3.531, allocations: 55.95 kB / 3.017 GB, free: 40.74 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/3.531, allocations: 48.69 kB / 3.017 GB, free: 40.69 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/3.531, allocations: 31.98 kB / 3.017 GB, free: 40.66 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003772/3.531, allocations: 402.9 kB / 3.017 GB, free: 40.27 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001541/3.533, allocations: 407 kB / 3.018 GB, free: 39.87 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.001318/3.534, allocations: 1.049 MB / 3.019 GB, free: 38.93 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009183/3.535, allocations: 0.6353 MB / 3.019 GB, free: 38.29 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/3.535, allocations: 0 / 3.019 GB, free: 38.29 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005456/3.536, allocations: 436.5 kB / 3.02 GB, free: 37.85 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008714/3.537, allocations: 212.9 kB / 3.02 GB, free: 37.65 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/3.54, allocations: 1.319 MB / 3.021 GB, free: 36.29 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/3.54, allocations: 1.111 MB / 3.022 GB, free: 35.16 MB / 1.151 GB Notification: Performance of SimCode: time 4.31e-07/3.54, allocations: 4 kB / 3.022 GB, free: 35.15 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat