Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",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.795/1.795, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.00101/0.00101, allocations: 185.2 kB / 487 MB, free: 5.43 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.142/1.142, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.000824/0.000824, allocations: 106.3 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4606/0.4614, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.6698, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.894/3.564, allocations: 1.73 GB / 2.935 GB, free: 105.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/3.564, allocations: 88.17 kB / 2.935 GB, free: 105.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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.06737/3.632, allocations: 30.83 MB / 2.965 GB, free: 78.87 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/3.632, allocations: 8 kB / 2.965 GB, free: 78.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/3.632, allocations: 102.9 kB / 2.965 GB, free: 78.76 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/3.633, allocations: 0.5686 MB / 2.966 GB, free: 78.15 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/3.633, allocations: 20 kB / 2.966 GB, free: 78.13 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/3.633, allocations: 40 kB / 2.966 GB, free: 78.09 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009607/3.634, allocations: 0.8689 MB / 2.967 GB, free: 77.22 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/3.634, allocations: 0.6085 MB / 2.967 GB, free: 76.56 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/3.634, allocations: 0 / 2.967 GB, free: 76.56 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/3.634, allocations: 0 / 2.967 GB, free: 76.56 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/3.634, allocations: 16 kB / 2.967 GB, free: 76.54 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/3.637, allocations: 2.25 MB / 2.97 GB, free: 74.22 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/3.637, allocations: 0.5604 MB / 2.97 GB, free: 73.64 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/3.638, allocations: 203.1 kB / 2.97 GB, free: 73.44 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.485e-05/3.638, allocations: 24.61 kB / 2.97 GB, free: 73.41 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/3.638, allocations: 312.4 kB / 2.971 GB, free: 73.09 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 1.753e-06/3.638, allocations: 4 kB / 2.971 GB, free: 73.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.000689/3.639, allocations: 495.7 kB / 2.971 GB, free: 72.59 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/3.639, allocations: 295.2 kB / 2.971 GB, free: 72.24 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/3.639, allocations: 0.4983 MB / 2.972 GB, free: 71.73 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/3.639, allocations: 29.7 kB / 2.972 GB, free: 71.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/3.639, allocations: 256.4 kB / 2.972 GB, free: 71.45 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.28e-05/3.639, allocations: 193.1 kB / 2.972 GB, free: 71.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/3.639, allocations: 0 / 2.972 GB, free: 71.25 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/3.64, allocations: 374.8 kB / 2.973 GB, free: 70.88 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/3.64, allocations: 153.3 kB / 2.973 GB, free: 70.73 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/3.64, allocations: 276.8 kB / 2.973 GB, free: 70.42 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/3.64, allocations: 201.4 kB / 2.973 GB, free: 70.22 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/3.64, allocations: 0 / 2.973 GB, free: 70.22 MB / 1.151 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006381/3.641, allocations: 0.5036 MB / 2.974 GB, free: 69.71 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/3.641, allocations: 8 kB / 2.974 GB, free: 69.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/3.641, allocations: 4.031 kB / 2.974 GB, free: 69.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/3.641, allocations: 8 kB / 2.974 GB, free: 69.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/3.641, allocations: 111.9 kB / 2.974 GB, free: 69.58 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/3.641, allocations: 7.984 kB / 2.974 GB, free: 69.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/3.642, allocations: 55.58 kB / 2.974 GB, free: 69.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/3.642, allocations: 31.86 kB / 2.974 GB, free: 69.49 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/3.642, allocations: 115.8 kB / 2.974 GB, free: 69.37 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/3.642, allocations: 67.16 kB / 2.974 GB, free: 69.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/3.643, allocations: 0.7371 MB / 2.975 GB, free: 68.55 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/3.643, allocations: 4 kB / 2.975 GB, free: 68.55 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/3.643, allocations: 4 kB / 2.975 GB, free: 68.55 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.443e-06/3.643, allocations: 3.984 kB / 2.975 GB, free: 68.54 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000673/3.644, allocations: 0.8393 MB / 2.976 GB, free: 67.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/3.644, allocations: 0 / 2.976 GB, free: 67.66 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/3.644, allocations: 123.8 kB / 2.976 GB, free: 67.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/3.644, allocations: 0 / 2.976 GB, free: 67.54 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/3.644, allocations: 11.98 kB / 2.976 GB, free: 67.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/3.644, allocations: 8.031 kB / 2.976 GB, free: 67.52 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/3.644, allocations: 0 / 2.976 GB, free: 67.52 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000645/3.645, allocations: 0.5992 MB / 2.976 GB, free: 66.89 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007247/3.646, allocations: 0.9903 MB / 2.977 GB, free: 65.86 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/3.646, allocations: 252 kB / 2.978 GB, free: 65.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/3.646, allocations: 7.984 kB / 2.978 GB, free: 65.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/3.647, allocations: 43.97 kB / 2.978 GB, free: 65.55 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/3.647, allocations: 52.52 kB / 2.978 GB, free: 65.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/3.647, allocations: 27.89 kB / 2.978 GB, free: 65.47 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003349/3.647, allocations: 406.9 kB / 2.978 GB, free: 65.07 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001276/3.648, allocations: 275.3 kB / 2.978 GB, free: 64.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008759/3.649, allocations: 0.5028 MB / 2.979 GB, free: 64.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005271/3.65, allocations: 442.3 kB / 2.979 GB, free: 63.97 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/3.65, allocations: 4.25 kB / 2.979 GB, free: 63.97 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002752/3.65, allocations: 266.3 kB / 2.98 GB, free: 63.71 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/3.651, allocations: 192.1 kB / 2.98 GB, free: 63.53 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/3.652, allocations: 0.9922 MB / 2.981 GB, free: 62.51 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/3.653, allocations: 1.068 MB / 2.982 GB, free: 61.41 MB / 1.151 GB Notification: Performance of SimCode: time 2.6e-07/3.653, allocations: 0 / 2.982 GB, free: 61.41 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat does not exist to compare? outputFormat=mat