Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_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.78/1.78, allocations: 390.4 MB / 397.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009746/0.0009746, allocations: 185.6 kB / 490.8 MB, free: 11.14 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.104/1.104, allocations: 221.4 MB / 0.7863 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 86.78 kB / 0.9264 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2231/0.224, allocations: 149.1 MB / 1.072 GB, free: 15.44 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4915/0.7155, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.41/3.126, allocations: 1.732 GB / 2.944 GB, free: 370.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/3.126, allocations: 79.95 kB / 2.944 GB, free: 370 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.1869/3.313, allocations: 96.25 MB / 3.038 GB, free: 273.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/3.313, allocations: 12 kB / 3.038 GB, free: 273.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008507/3.314, allocations: 257.8 kB / 3.038 GB, free: 273.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/3.315, allocations: 0.7716 MB / 3.039 GB, free: 272.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/3.315, allocations: 44 kB / 3.039 GB, free: 272.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/3.315, allocations: 84 kB / 3.039 GB, free: 272.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001687/3.317, allocations: 1.384 MB / 3.041 GB, free: 271.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/3.318, allocations: 1.185 MB / 3.042 GB, free: 270.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/3.318, allocations: 3.984 kB / 3.042 GB, free: 270.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/3.318, allocations: 0 / 3.042 GB, free: 270.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/3.318, allocations: 36 kB / 3.042 GB, free: 270 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/3.323, allocations: 3.956 MB / 3.046 GB, free: 265.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009971/3.324, allocations: 0.851 MB / 3.046 GB, free: 265.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/3.324, allocations: 353.7 kB / 3.047 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.959e-05/3.324, allocations: 45 kB / 3.047 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/3.325, allocations: 0.5221 MB / 3.047 GB, free: 264.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 2.194e-06/3.325, allocations: 0 / 3.047 GB, free: 264.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.001704/3.327, allocations: 0.8975 MB / 3.048 GB, free: 263.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/3.327, allocations: 244.3 kB / 3.048 GB, free: 262.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/3.327, allocations: 0.5869 MB / 3.049 GB, free: 262.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/3.327, allocations: 29.7 kB / 3.049 GB, free: 262.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/3.328, allocations: 483.4 kB / 3.049 GB, free: 261.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/3.328, allocations: 331 kB / 3.05 GB, free: 261.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/3.328, allocations: 0 / 3.05 GB, free: 261.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/3.328, allocations: 398.7 kB / 3.05 GB, free: 261.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/3.328, allocations: 294 kB / 3.05 GB, free: 260.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/3.329, allocations: 421.4 kB / 3.051 GB, free: 260.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/3.329, allocations: 378.8 kB / 3.051 GB, free: 260 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/3.329, allocations: 0 / 3.051 GB, free: 260 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001712/3.331, allocations: 0.96 MB / 3.052 GB, free: 259 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/3.331, allocations: 7.906 kB / 3.052 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/3.331, allocations: 1.125 kB / 3.052 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005626/3.332, allocations: 84.84 kB / 3.052 GB, free: 258.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008705/3.332, allocations: 211.7 kB / 3.052 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/3.334, allocations: 1.474 MB / 3.054 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/3.335, allocations: 75.3 kB / 3.054 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/3.335, allocations: 47.95 kB / 3.054 GB, free: 257 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 (116): * Single equations (assignments): 115 * 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.0001502/3.335, allocations: 124 kB / 3.054 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/3.335, allocations: 94.78 kB / 3.054 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/3.338, allocations: 1.305 MB / 3.055 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/3.338, allocations: 12 kB / 3.056 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/3.338, allocations: 0 / 3.056 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/3.338, allocations: 3.984 kB / 3.056 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/3.341, allocations: 2.353 MB / 3.058 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/3.341, allocations: 0 / 3.058 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/3.342, allocations: 199.7 kB / 3.058 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000492/3.342, allocations: 80.78 kB / 3.058 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/3.342, allocations: 23.98 kB / 3.058 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/3.343, allocations: 1.495 MB / 3.06 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/3.344, allocations: 0 / 3.06 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001586/3.345, allocations: 1.056 MB / 3.061 GB, free: 250.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001665/3.347, allocations: 1.463 MB / 3.062 GB, free: 248.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/3.347, allocations: 352.2 kB / 3.062 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/3.347, allocations: 4 kB / 3.062 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/3.348, allocations: 65.38 kB / 3.062 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/3.348, allocations: 64.89 kB / 3.062 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/3.348, allocations: 35.98 kB / 3.063 GB, free: 248.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004572/3.349, allocations: 0.5069 MB / 3.063 GB, free: 247.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001688/3.35, allocations: 0.4984 MB / 3.063 GB, free: 247.1 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 (115): * Single equations (assignments): 112 * 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.00129/3.352, allocations: 1.053 MB / 3.065 GB, free: 246.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001245/3.353, allocations: 0.9048 MB / 3.065 GB, free: 245.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/3.353, allocations: 0 / 3.065 GB, free: 245.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006885/3.354, allocations: 0.5638 MB / 3.066 GB, free: 244.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/3.355, allocations: 217 kB / 3.066 GB, free: 244.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/3.358, allocations: 1.826 MB / 3.068 GB, free: 242.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007979/3.359, allocations: 1.332 MB / 3.069 GB, free: 241.3 MB / 1.151 GB Notification: Performance of SimCode: time 3.91e-07/3.359, allocations: 4 kB / 3.069 GB, free: 241.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat