Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.7446/0.7446, allocations: 141.8 MB / 149.1 MB, free: 3.918 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 190.6 kB / 181.9 MB, free: 15.61 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.382/1.382, allocations: 221.3 MB / 436 MB, free: 8.73 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.001069/0.001069, allocations: 95.83 kB / 0.507 GB, free: 24.18 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 280.5 kB / 0.5885 GB, free: 11.79 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2101/0.2122, allocations: 89.64 MB / 0.676 GB, free: 2.062 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.7085, allocations: 82.76 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.551/4.26, allocations: 1.69 GB / 2.447 GB, free: 114.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/4.26, allocations: 84.69 kB / 2.447 GB, free: 114.4 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.07207/4.332, allocations: 30.83 MB / 2.477 GB, free: 83.59 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/4.332, allocations: 13.19 kB / 2.477 GB, free: 83.58 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003033/4.333, allocations: 102.8 kB / 2.477 GB, free: 83.48 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008659/4.334, allocations: 0.5648 MB / 2.478 GB, free: 82.87 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/4.334, allocations: 23.94 kB / 2.478 GB, free: 82.85 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/4.334, allocations: 40 kB / 2.478 GB, free: 82.81 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001054/4.335, allocations: 0.865 MB / 2.479 GB, free: 81.94 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008141/4.336, allocations: 0.6086 MB / 2.479 GB, free: 81.29 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/4.336, allocations: 0 / 2.479 GB, free: 81.29 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/4.336, allocations: 4 kB / 2.479 GB, free: 81.28 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/4.336, allocations: 15.91 kB / 2.479 GB, free: 81.27 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/4.338, allocations: 2.25 MB / 2.481 GB, free: 78.95 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/4.339, allocations: 0.5606 MB / 2.482 GB, free: 78.37 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/4.339, allocations: 203.2 kB / 2.482 GB, free: 78.17 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 6.199e-05/4.339, allocations: 25.31 kB / 2.482 GB, free: 78.14 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/4.34, allocations: 312.4 kB / 2.483 GB, free: 77.82 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=61): time 3.186e-06/4.34, allocations: 0 / 2.483 GB, free: 77.82 MB / 0.6982 GB Notification: Performance of matching and sorting (n=61): time 0.0007521/4.34, allocations: 0.4919 MB / 2.483 GB, free: 77.32 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/4.341, allocations: 291.2 kB / 2.483 GB, free: 76.97 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/4.341, allocations: 0.4944 MB / 2.484 GB, free: 76.47 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/4.341, allocations: 33.7 kB / 2.484 GB, free: 76.43 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/4.341, allocations: 252.4 kB / 2.484 GB, free: 76.18 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/4.341, allocations: 193.1 kB / 2.484 GB, free: 75.98 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/4.341, allocations: 0 / 2.484 GB, free: 75.98 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/4.341, allocations: 370.8 kB / 2.485 GB, free: 75.61 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/4.342, allocations: 157.3 kB / 2.485 GB, free: 75.46 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/4.342, allocations: 279.9 kB / 2.485 GB, free: 75.15 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/4.342, allocations: 205.4 kB / 2.485 GB, free: 74.95 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/4.342, allocations: 0 / 2.485 GB, free: 74.95 MB / 0.6982 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006667/4.343, allocations: 0.5036 MB / 2.486 GB, free: 74.44 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/4.343, allocations: 4 kB / 2.486 GB, free: 74.44 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/4.343, allocations: 112 / 2.486 GB, free: 74.44 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/4.343, allocations: 7.938 kB / 2.486 GB, free: 74.43 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/4.343, allocations: 123.9 kB / 2.486 GB, free: 74.31 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/4.343, allocations: 9.625 kB / 2.486 GB, free: 74.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/4.344, allocations: 55.66 kB / 2.486 GB, free: 74.25 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/4.344, allocations: 31.89 kB / 2.486 GB, free: 74.21 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.0001311/4.344, allocations: 120.8 kB / 2.486 GB, free: 74.09 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/4.344, allocations: 67.16 kB / 2.486 GB, free: 74.02 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/4.346, allocations: 0.7249 MB / 2.487 GB, free: 73.32 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/4.346, allocations: 11.94 kB / 2.487 GB, free: 73.3 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/4.346, allocations: 4 kB / 2.487 GB, free: 73.3 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/4.346, allocations: 3.984 kB / 2.487 GB, free: 73.3 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008498/4.346, allocations: 0.8393 MB / 2.488 GB, free: 72.41 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/4.346, allocations: 0 / 2.488 GB, free: 72.41 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/4.347, allocations: 119.8 kB / 2.488 GB, free: 72.29 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/4.347, allocations: 4 kB / 2.488 GB, free: 72.29 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/4.347, allocations: 11.98 kB / 2.488 GB, free: 72.28 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/4.347, allocations: 4 kB / 2.488 GB, free: 72.27 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/4.347, allocations: 0 / 2.488 GB, free: 72.27 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006979/4.348, allocations: 0.6031 MB / 2.488 GB, free: 71.64 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008007/4.348, allocations: 0.9903 MB / 2.489 GB, free: 70.62 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/4.349, allocations: 260 kB / 2.49 GB, free: 70.35 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/4.349, allocations: 0 / 2.49 GB, free: 70.35 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/4.349, allocations: 51.89 kB / 2.49 GB, free: 70.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/4.349, allocations: 44.59 kB / 2.49 GB, free: 70.25 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/4.349, allocations: 23.98 kB / 2.49 GB, free: 70.23 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003843/4.35, allocations: 402.9 kB / 2.49 GB, free: 69.84 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001429/4.351, allocations: 271.3 kB / 2.49 GB, free: 69.57 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.001017/4.352, allocations: 0.4991 MB / 2.491 GB, free: 69.18 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006734/4.353, allocations: 446.3 kB / 2.491 GB, free: 68.74 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/4.353, allocations: 0 / 2.491 GB, free: 68.74 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/4.353, allocations: 262.6 kB / 2.491 GB, free: 68.49 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/4.354, allocations: 198.6 kB / 2.492 GB, free: 68.3 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/4.356, allocations: 0.9978 MB / 2.493 GB, free: 67.27 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000615/4.357, allocations: 1.061 MB / 2.494 GB, free: 66.18 MB / 0.6982 GB Notification: Performance of SimCode: time 2.91e-07/4.357, allocations: 4 kB / 2.494 GB, free: 66.18 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_fmu --startTime=3.09924e+07 --stopTime=3.186e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)