Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8081/0.8081, allocations: 141.8 MB / 149.1 MB, free: 12.66 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 186.8 kB / 182 MB, free: 9.375 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.3 MB / 436 MB, free: 1.816 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 92.58 kB / 0.507 GB, free: 10.56 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002137/0.002137, allocations: 272.3 kB / 0.5884 GB, free: 7.398 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1982/0.2004, allocations: 89.66 MB / 0.676 GB, free: 13.65 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.6399, allocations: 82.76 MB / 0.7568 GB, free: 138.6 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.471/4.111, allocations: 1.69 GB / 2.447 GB, free: 77.46 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/4.112, allocations: 89.84 kB / 2.447 GB, free: 77.38 MB / 0.6982 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.07367/4.185, allocations: 30.84 MB / 2.477 GB, free: 46.53 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/4.185, allocations: 8 kB / 2.477 GB, free: 46.52 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/4.186, allocations: 102.8 kB / 2.477 GB, free: 46.42 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/4.187, allocations: 0.5725 MB / 2.478 GB, free: 45.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/4.187, allocations: 20 kB / 2.478 GB, free: 45.79 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/4.187, allocations: 39.98 kB / 2.478 GB, free: 45.75 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001211/4.188, allocations: 0.8689 MB / 2.479 GB, free: 44.88 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/4.189, allocations: 0.6086 MB / 2.479 GB, free: 44.22 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/4.189, allocations: 4 kB / 2.479 GB, free: 44.21 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/4.189, allocations: 0 / 2.479 GB, free: 44.21 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/4.189, allocations: 19.91 kB / 2.479 GB, free: 44.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/4.192, allocations: 2.25 MB / 2.481 GB, free: 41.88 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/4.193, allocations: 0.5519 MB / 2.482 GB, free: 41.31 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/4.193, allocations: 207.1 kB / 2.482 GB, free: 41.1 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-05/4.193, allocations: 29.3 kB / 2.482 GB, free: 41.07 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/4.194, allocations: 312.4 kB / 2.483 GB, free: 40.75 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=61): time 2.615e-06/4.194, allocations: 0 / 2.483 GB, free: 40.75 MB / 0.6982 GB Notification: Performance of matching and sorting (n=61): time 0.000854/4.195, allocations: 491.7 kB / 2.483 GB, free: 40.27 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/4.195, allocations: 299.2 kB / 2.483 GB, free: 39.9 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/4.195, allocations: 0.4983 MB / 2.484 GB, free: 39.4 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/4.195, allocations: 29.7 kB / 2.484 GB, free: 39.36 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/4.196, allocations: 256.4 kB / 2.484 GB, free: 39.11 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/4.196, allocations: 193.1 kB / 2.484 GB, free: 38.91 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/4.196, allocations: 0 / 2.484 GB, free: 38.91 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.158e-05/4.196, allocations: 370.8 kB / 2.485 GB, free: 38.54 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/4.196, allocations: 153.3 kB / 2.485 GB, free: 38.39 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/4.196, allocations: 280.8 kB / 2.485 GB, free: 38.08 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/4.197, allocations: 205.3 kB / 2.485 GB, free: 37.88 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/4.197, allocations: 0 / 2.485 GB, free: 37.88 MB / 0.6982 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007325/4.197, allocations: 0.4997 MB / 2.486 GB, free: 37.38 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/4.197, allocations: 8 kB / 2.486 GB, free: 37.37 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/4.197, allocations: 0 / 2.486 GB, free: 37.37 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/4.197, allocations: 4 kB / 2.486 GB, free: 37.36 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/4.198, allocations: 115.9 kB / 2.486 GB, free: 37.25 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/4.198, allocations: 15.97 kB / 2.486 GB, free: 37.23 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/4.198, allocations: 51.66 kB / 2.486 GB, free: 37.18 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/4.198, allocations: 27.89 kB / 2.486 GB, free: 37.16 MB / 0.6982 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.0001574/4.199, allocations: 124.2 kB / 2.486 GB, free: 37.03 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/4.199, allocations: 71.14 kB / 2.486 GB, free: 36.96 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/4.2, allocations: 0.7339 MB / 2.487 GB, free: 36.25 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/4.2, allocations: 4 kB / 2.487 GB, free: 36.24 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/4.2, allocations: 4 kB / 2.487 GB, free: 36.24 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/4.2, allocations: 7.984 kB / 2.487 GB, free: 36.23 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/4.201, allocations: 0.8354 MB / 2.488 GB, free: 35.35 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/4.201, allocations: 0 / 2.488 GB, free: 35.35 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/4.202, allocations: 123.8 kB / 2.488 GB, free: 35.23 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/4.202, allocations: 0 / 2.488 GB, free: 35.23 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/4.202, allocations: 11.98 kB / 2.488 GB, free: 35.21 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/4.202, allocations: 4 kB / 2.488 GB, free: 35.21 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/4.202, allocations: 0 / 2.488 GB, free: 35.21 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008503/4.203, allocations: 0.6031 MB / 2.488 GB, free: 34.58 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001096/4.204, allocations: 0.9864 MB / 2.489 GB, free: 33.56 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/4.204, allocations: 256 kB / 2.49 GB, free: 33.29 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/4.205, allocations: 8 kB / 2.49 GB, free: 33.29 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/4.205, allocations: 47.95 kB / 2.49 GB, free: 33.24 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/4.205, allocations: 48.58 kB / 2.49 GB, free: 33.19 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/4.205, allocations: 23.98 kB / 2.49 GB, free: 33.17 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005243/4.206, allocations: 402.9 kB / 2.49 GB, free: 32.78 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.00161/4.207, allocations: 267.3 kB / 2.49 GB, free: 32.52 MB / 0.6982 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.001397/4.209, allocations: 0.511 MB / 2.491 GB, free: 32.11 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0007374/4.21, allocations: 442.3 kB / 2.491 GB, free: 31.67 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/4.21, allocations: 0 / 2.491 GB, free: 31.67 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/4.21, allocations: 270.3 kB / 2.491 GB, free: 31.41 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009518/4.211, allocations: 200.8 kB / 2.492 GB, free: 31.22 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/4.213, allocations: 0.9874 MB / 2.493 GB, free: 30.2 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/4.214, allocations: 1.065 MB / 2.494 GB, free: 29.11 MB / 0.6982 GB Notification: Performance of SimCode: time 2.5e-07/4.214, allocations: 0 / 2.494 GB, free: 29.11 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)