Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.805/1.805, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009954/0.0009955, allocations: 177.3 kB / 490.8 MB, free: 1.961 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.141/1.141, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.0009137/0.0009137, allocations: 96.61 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4447/0.4457, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.6366, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.641/3.278, allocations: 1.731 GB / 2.942 GB, free: 142 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/3.278, allocations: 87.95 kB / 2.942 GB, free: 141.9 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.06631/3.345, allocations: 30.83 MB / 2.972 GB, free: 111 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/3.345, allocations: 12 kB / 2.972 GB, free: 111 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/3.345, allocations: 102.8 kB / 2.972 GB, free: 110.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007504/3.346, allocations: 0.5687 MB / 2.973 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/3.346, allocations: 20 kB / 2.973 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/3.346, allocations: 39.94 kB / 2.973 GB, free: 110.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000988/3.347, allocations: 0.8728 MB / 2.974 GB, free: 109.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/3.347, allocations: 0.5969 MB / 2.974 GB, free: 108.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/3.348, allocations: 3.938 kB / 2.974 GB, free: 108.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/3.348, allocations: 3.906 kB / 2.975 GB, free: 108.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/3.348, allocations: 16 kB / 2.975 GB, free: 108.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/3.35, allocations: 2.25 MB / 2.977 GB, free: 106.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/3.351, allocations: 0.5596 MB / 2.977 GB, free: 105.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/3.351, allocations: 203.9 kB / 2.977 GB, free: 105.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/3.351, allocations: 32.52 kB / 2.977 GB, free: 105.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/3.351, allocations: 312.3 kB / 2.978 GB, free: 105.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 1.693e-06/3.351, allocations: 4 kB / 2.978 GB, free: 105.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.0007003/3.352, allocations: 491.8 kB / 2.978 GB, free: 104.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/3.352, allocations: 299.2 kB / 2.979 GB, free: 104.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/3.352, allocations: 0.4983 MB / 2.979 GB, free: 103.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/3.352, allocations: 25.7 kB / 2.979 GB, free: 103.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/3.353, allocations: 256.4 kB / 2.979 GB, free: 103.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.278e-05/3.353, allocations: 193.1 kB / 2.979 GB, free: 103.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/3.353, allocations: 0 / 2.979 GB, free: 103.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/3.353, allocations: 378.8 kB / 2.98 GB, free: 103 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/3.353, allocations: 153.3 kB / 2.98 GB, free: 102.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/3.353, allocations: 268.8 kB / 2.98 GB, free: 102.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/3.354, allocations: 205.3 kB / 2.98 GB, free: 102.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/3.354, allocations: 0 / 2.98 GB, free: 102.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006684/3.354, allocations: 0.4997 MB / 2.981 GB, free: 101.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/3.354, allocations: 8 kB / 2.981 GB, free: 101.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/3.354, allocations: 4.125 kB / 2.981 GB, free: 101.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/3.354, allocations: 4 kB / 2.981 GB, free: 101.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/3.355, allocations: 119.7 kB / 2.981 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/3.355, allocations: 4 kB / 2.981 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/3.355, allocations: 59.56 kB / 2.981 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/3.355, allocations: 23.98 kB / 2.981 GB, free: 101.6 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.0001027/3.355, allocations: 116.8 kB / 2.981 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/3.355, allocations: 71.16 kB / 2.981 GB, free: 101.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/3.357, allocations: 0.7293 MB / 2.982 GB, free: 100.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/3.357, allocations: 8 kB / 2.982 GB, free: 100.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/3.357, allocations: 0 / 2.982 GB, free: 100.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/3.357, allocations: 3.984 kB / 2.982 GB, free: 100.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/3.357, allocations: 0.8432 MB / 2.983 GB, free: 99.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/3.357, allocations: 7.938 kB / 2.983 GB, free: 99.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/3.358, allocations: 119.8 kB / 2.983 GB, free: 99.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/3.358, allocations: 4 kB / 2.983 GB, free: 99.66 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/3.358, allocations: 16.02 kB / 2.983 GB, free: 99.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/3.358, allocations: 4 kB / 2.983 GB, free: 99.64 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/3.358, allocations: 0 / 2.983 GB, free: 99.64 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006969/3.358, allocations: 0.5914 MB / 2.984 GB, free: 99.02 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007451/3.359, allocations: 0.9902 MB / 2.985 GB, free: 98 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/3.359, allocations: 263.9 kB / 2.985 GB, free: 97.72 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/3.36, allocations: 4 kB / 2.985 GB, free: 97.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/3.36, allocations: 51.95 kB / 2.985 GB, free: 97.67 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/3.36, allocations: 44.58 kB / 2.985 GB, free: 97.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/3.36, allocations: 23.98 kB / 2.985 GB, free: 97.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003415/3.36, allocations: 406.9 kB / 2.985 GB, free: 97.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001203/3.362, allocations: 275.3 kB / 2.986 GB, free: 96.94 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.0009553/3.363, allocations: 0.5036 MB / 2.986 GB, free: 96.54 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005557/3.363, allocations: 442.5 kB / 2.986 GB, free: 96.11 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/3.363, allocations: 4.062 kB / 2.986 GB, free: 96.11 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002798/3.363, allocations: 262.4 kB / 2.987 GB, free: 95.84 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/3.364, allocations: 190.8 kB / 2.987 GB, free: 95.66 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/3.366, allocations: 0.9939 MB / 2.988 GB, free: 94.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005233/3.366, allocations: 1.066 MB / 2.989 GB, free: 93.55 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/3.366, allocations: 0 / 2.989 GB, free: 93.55 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat does not exist to compare? outputFormat=mat