Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.834/1.834, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001101/0.001101, allocations: 181.2 kB / 490.8 MB, free: 1.957 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.224/1.224, allocations: 221.3 MB / 0.7863 GB, free: 13.73 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.0009856/0.0009855, allocations: 101.4 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4803/0.4813, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.677, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.833/3.51, allocations: 1.732 GB / 2.944 GB, free: 114.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/3.51, allocations: 91.98 kB / 2.944 GB, free: 114.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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.1212/3.631, allocations: 61.34 MB / 3.004 GB, free: 58.62 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/3.631, allocations: 15.98 kB / 3.004 GB, free: 58.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008681/3.632, allocations: 194.6 kB / 3.004 GB, free: 58.41 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008967/3.633, allocations: 0.623 MB / 3.004 GB, free: 57.74 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/3.633, allocations: 28 kB / 3.004 GB, free: 57.71 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.868e-05/3.633, allocations: 44 kB / 3.004 GB, free: 57.67 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001219/3.634, allocations: 1.011 MB / 3.005 GB, free: 56.66 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/3.635, allocations: 0.7428 MB / 3.006 GB, free: 55.88 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/3.636, allocations: 3.938 kB / 3.006 GB, free: 55.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/3.636, allocations: 3.984 kB / 3.006 GB, free: 55.87 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/3.636, allocations: 20 kB / 3.006 GB, free: 55.85 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/3.639, allocations: 2.466 MB / 3.009 GB, free: 53.31 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/3.64, allocations: 0.6688 MB / 3.009 GB, free: 52.63 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/3.64, allocations: 246.8 kB / 3.009 GB, free: 52.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/3.64, allocations: 36.53 kB / 3.009 GB, free: 52.35 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004292/3.641, allocations: 390.1 kB / 3.01 GB, free: 51.95 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 1.763e-06/3.641, allocations: 0 / 3.01 GB, free: 51.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.00137/3.642, allocations: 0.656 MB / 3.01 GB, free: 51.28 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/3.642, allocations: 244 kB / 3.011 GB, free: 50.99 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/3.642, allocations: 0.5023 MB / 3.011 GB, free: 50.48 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/3.642, allocations: 41.64 kB / 3.011 GB, free: 50.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/3.643, allocations: 296.2 kB / 3.012 GB, free: 50.14 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/3.643, allocations: 248.3 kB / 3.012 GB, free: 49.89 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/3.643, allocations: 0 / 3.012 GB, free: 49.89 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/3.643, allocations: 374.8 kB / 3.012 GB, free: 49.52 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/3.643, allocations: 197.3 kB / 3.012 GB, free: 49.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/3.643, allocations: 306.4 kB / 3.013 GB, free: 49 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/3.644, allocations: 251.1 kB / 3.013 GB, free: 48.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/3.644, allocations: 0 / 3.013 GB, free: 48.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001335/3.645, allocations: 0.6795 MB / 3.014 GB, free: 48.06 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/3.645, allocations: 4 kB / 3.014 GB, free: 48.06 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/3.645, allocations: 0 / 3.014 GB, free: 48.06 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/3.646, allocations: 92.75 kB / 3.014 GB, free: 47.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/3.646, allocations: 151.8 kB / 3.014 GB, free: 47.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/3.648, allocations: 1.457 MB / 3.015 GB, free: 46.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/3.648, allocations: 63.61 kB / 3.015 GB, free: 46.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/3.648, allocations: 23.98 kB / 3.015 GB, free: 46.15 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 (80): * Single equations (assignments): 79 * 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.0001197/3.649, allocations: 128.8 kB / 3.015 GB, free: 46.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/3.649, allocations: 71.16 kB / 3.015 GB, free: 45.95 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/3.651, allocations: 0.9527 MB / 3.016 GB, free: 44.98 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/3.651, allocations: 8 kB / 3.016 GB, free: 44.97 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/3.651, allocations: 7.922 kB / 3.016 GB, free: 44.96 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/3.651, allocations: 3.984 kB / 3.016 GB, free: 44.96 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/3.653, allocations: 1.721 MB / 3.018 GB, free: 43.19 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/3.653, allocations: 0 / 3.018 GB, free: 43.19 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/3.653, allocations: 151.8 kB / 3.018 GB, free: 43.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004727/3.654, allocations: 84.77 kB / 3.018 GB, free: 42.95 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-05/3.654, allocations: 15.98 kB / 3.018 GB, free: 42.94 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/3.655, allocations: 1.481 MB / 3.02 GB, free: 41.34 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/3.655, allocations: 0 / 3.02 GB, free: 41.34 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001247/3.657, allocations: 0.8322 MB / 3.021 GB, free: 40.49 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001375/3.658, allocations: 1.247 MB / 3.022 GB, free: 39.21 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/3.658, allocations: 279.8 kB / 3.022 GB, free: 38.92 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/3.658, allocations: 4 kB / 3.022 GB, free: 38.92 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/3.659, allocations: 59.84 kB / 3.022 GB, free: 38.86 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/3.659, allocations: 56.64 kB / 3.022 GB, free: 38.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/3.659, allocations: 31.97 kB / 3.022 GB, free: 38.77 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003524/3.66, allocations: 414.9 kB / 3.023 GB, free: 38.37 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001514/3.661, allocations: 411.1 kB / 3.023 GB, free: 37.97 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.001291/3.662, allocations: 1.048 MB / 3.024 GB, free: 37.02 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009561/3.663, allocations: 0.6625 MB / 3.025 GB, free: 36.35 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/3.663, allocations: 4.125 kB / 3.025 GB, free: 36.35 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005677/3.664, allocations: 456.5 kB / 3.025 GB, free: 35.89 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008558/3.665, allocations: 220.4 kB / 3.025 GB, free: 35.68 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/3.668, allocations: 1.355 MB / 3.027 GB, free: 34.29 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005913/3.668, allocations: 1.132 MB / 3.028 GB, free: 33.13 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/3.668, allocations: 0 / 3.028 GB, free: 33.13 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat