Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",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.7631/0.7631, allocations: 141.8 MB / 149.1 MB, free: 3.738 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.001166/0.001166, allocations: 173.3 kB / 181.9 MB, free: 15.5 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.372/1.372, allocations: 221.3 MB / 436 MB, free: 8.715 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.0009221/0.0009219, allocations: 96.86 kB / 0.507 GB, free: 24.27 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 280.4 kB / 0.5884 GB, free: 11.73 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2127/0.2148, allocations: 89.65 MB / 0.676 GB, free: 2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.6834, allocations: 82.75 MB / 0.7568 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.598/4.281, allocations: 1.69 GB / 2.447 GB, free: 107.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/4.281, allocations: 87.48 kB / 2.447 GB, free: 107.8 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.07645/4.358, allocations: 30.83 MB / 2.477 GB, free: 76.95 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/4.358, allocations: 11.94 kB / 2.477 GB, free: 76.94 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/4.358, allocations: 106.7 kB / 2.477 GB, free: 76.84 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/4.36, allocations: 0.5648 MB / 2.478 GB, free: 76.23 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/4.36, allocations: 27.94 kB / 2.478 GB, free: 76.2 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.737e-05/4.36, allocations: 35.98 kB / 2.478 GB, free: 76.16 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001354/4.361, allocations: 0.865 MB / 2.479 GB, free: 75.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/4.362, allocations: 0.6047 MB / 2.479 GB, free: 74.64 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/4.362, allocations: 0 / 2.479 GB, free: 74.64 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/4.362, allocations: 4 kB / 2.479 GB, free: 74.64 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/4.362, allocations: 19.91 kB / 2.479 GB, free: 74.62 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/4.366, allocations: 2.254 MB / 2.481 GB, free: 72.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008353/4.366, allocations: 0.5518 MB / 2.482 GB, free: 71.73 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/4.367, allocations: 203.2 kB / 2.482 GB, free: 71.53 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/4.367, allocations: 29.3 kB / 2.482 GB, free: 71.5 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004338/4.367, allocations: 320.3 kB / 2.483 GB, free: 71.17 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=61): time 4.218e-06/4.367, allocations: 0 / 2.483 GB, free: 71.17 MB / 0.6982 GB Notification: Performance of matching and sorting (n=61): time 0.001016/4.368, allocations: 491.8 kB / 2.483 GB, free: 70.68 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/4.368, allocations: 295.2 kB / 2.483 GB, free: 70.32 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007871/4.369, allocations: 0.4944 MB / 2.484 GB, free: 69.82 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/4.369, allocations: 29.7 kB / 2.484 GB, free: 69.79 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/4.37, allocations: 260.4 kB / 2.484 GB, free: 69.53 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/4.37, allocations: 193.1 kB / 2.484 GB, free: 69.34 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/4.37, allocations: 4 kB / 2.484 GB, free: 69.33 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001135/4.37, allocations: 366.8 kB / 2.485 GB, free: 68.96 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/4.37, allocations: 153.3 kB / 2.485 GB, free: 68.81 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/4.37, allocations: 280.8 kB / 2.485 GB, free: 68.5 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/4.371, allocations: 201.4 kB / 2.485 GB, free: 68.31 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/4.371, allocations: 3.938 kB / 2.485 GB, free: 68.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007765/4.371, allocations: 0.5075 MB / 2.486 GB, free: 67.79 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/4.371, allocations: 4 kB / 2.486 GB, free: 67.79 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/4.372, allocations: 112 / 2.486 GB, free: 67.79 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/4.372, allocations: 7.938 kB / 2.486 GB, free: 67.78 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/4.372, allocations: 115.8 kB / 2.486 GB, free: 67.66 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/4.372, allocations: 11.91 kB / 2.486 GB, free: 67.65 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/4.373, allocations: 55.78 kB / 2.486 GB, free: 67.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/4.373, allocations: 27.89 kB / 2.486 GB, free: 67.57 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.0001615/4.373, allocations: 116.9 kB / 2.486 GB, free: 67.45 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/4.373, allocations: 67.16 kB / 2.486 GB, free: 67.38 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/4.374, allocations: 0.7375 MB / 2.487 GB, free: 66.66 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/4.374, allocations: 8 kB / 2.487 GB, free: 66.66 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/4.374, allocations: 0 / 2.487 GB, free: 66.66 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/4.374, allocations: 3.984 kB / 2.487 GB, free: 66.65 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/4.375, allocations: 0.8392 MB / 2.488 GB, free: 65.77 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/4.375, allocations: 4.031 kB / 2.488 GB, free: 65.76 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/4.376, allocations: 115.9 kB / 2.488 GB, free: 65.65 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/4.376, allocations: 4 kB / 2.488 GB, free: 65.64 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/4.376, allocations: 8 kB / 2.488 GB, free: 65.64 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/4.376, allocations: 7.984 kB / 2.488 GB, free: 65.63 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/4.376, allocations: 0 / 2.488 GB, free: 65.63 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007874/4.377, allocations: 0.5992 MB / 2.488 GB, free: 65 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008103/4.377, allocations: 0.9902 MB / 2.489 GB, free: 63.98 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/4.378, allocations: 260 kB / 2.49 GB, free: 63.71 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/4.378, allocations: 0 / 2.49 GB, free: 63.71 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/4.378, allocations: 51.95 kB / 2.49 GB, free: 63.66 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/4.379, allocations: 44.58 kB / 2.49 GB, free: 63.61 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/4.379, allocations: 27.98 kB / 2.49 GB, free: 63.59 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004021/4.379, allocations: 398.9 kB / 2.49 GB, free: 63.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001469/4.38, allocations: 271.3 kB / 2.49 GB, free: 62.93 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.001381/4.382, allocations: 0.5112 MB / 2.491 GB, free: 62.54 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0007554/4.383, allocations: 442.3 kB / 2.491 GB, free: 62.1 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/4.383, allocations: 3.938 kB / 2.491 GB, free: 62.09 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/4.383, allocations: 270.4 kB / 2.491 GB, free: 61.83 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/4.384, allocations: 187.4 kB / 2.492 GB, free: 61.66 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/4.387, allocations: 0.9861 MB / 2.493 GB, free: 60.64 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007588/4.387, allocations: 1.072 MB / 2.494 GB, free: 59.54 MB / 0.6982 GB Notification: Performance of SimCode: time 4.5e-07/4.387, allocations: 0 / 2.494 GB, free: 59.54 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_fmu --startTime=0 --stopTime=3.66336e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)