Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",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.7674/0.7674, allocations: 141.8 MB / 149.1 MB, free: 2.719 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.001207, allocations: 180.1 kB / 182 MB, free: 14.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.528/1.528, allocations: 221.3 MB / 436 MB, free: 7.703 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.001269/0.001269, allocations: 92.17 kB / 0.507 GB, free: 24.45 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 291.3 kB / 0.5885 GB, free: 10.81 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2227/0.2247, allocations: 89.64 MB / 0.676 GB, free: 1.086 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.7583, allocations: 82.75 MB / 0.7568 GB, free: 111.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.894/4.652, allocations: 1.69 GB / 2.447 GB, free: 71.92 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/4.652, allocations: 91.25 kB / 2.447 GB, free: 71.88 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.07475/4.727, allocations: 30.85 MB / 2.477 GB, free: 46.21 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/4.727, allocations: 15.98 kB / 2.477 GB, free: 46.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004191/4.728, allocations: 102.7 kB / 2.477 GB, free: 46.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/4.729, allocations: 0.5619 MB / 2.478 GB, free: 45.59 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/4.729, allocations: 20 kB / 2.478 GB, free: 45.57 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/4.729, allocations: 39.94 kB / 2.478 GB, free: 45.54 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001302/4.73, allocations: 0.875 MB / 2.479 GB, free: 44.84 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/4.731, allocations: 0.5983 MB / 2.479 GB, free: 44.33 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/4.731, allocations: 0 / 2.479 GB, free: 44.33 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/4.731, allocations: 3.984 kB / 2.479 GB, free: 44.33 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/4.731, allocations: 19.91 kB / 2.479 GB, free: 44.31 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/4.735, allocations: 2.247 MB / 2.482 GB, free: 42.39 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008708/4.736, allocations: 0.5621 MB / 2.482 GB, free: 41.85 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/4.736, allocations: 203.2 kB / 2.482 GB, free: 41.65 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 9.133e-05/4.736, allocations: 21.33 kB / 2.482 GB, free: 41.63 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000416/4.737, allocations: 320.3 kB / 2.483 GB, free: 41.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=61): time 3.166e-06/4.737, allocations: 4 kB / 2.483 GB, free: 41.29 MB / 0.6982 GB Notification: Performance of matching and sorting (n=61): time 0.0009047/4.738, allocations: 491.8 kB / 2.483 GB, free: 40.8 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/4.738, allocations: 287.2 kB / 2.483 GB, free: 40.45 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/4.738, allocations: 0.4983 MB / 2.484 GB, free: 39.95 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/4.738, allocations: 33.7 kB / 2.484 GB, free: 39.91 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/4.739, allocations: 252.4 kB / 2.484 GB, free: 39.66 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/4.739, allocations: 197 kB / 2.484 GB, free: 39.46 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/4.739, allocations: 0 / 2.484 GB, free: 39.46 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001172/4.739, allocations: 374.8 kB / 2.485 GB, free: 39.09 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/4.739, allocations: 157.3 kB / 2.485 GB, free: 38.93 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/4.739, allocations: 268.9 kB / 2.485 GB, free: 38.63 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/4.74, allocations: 209.3 kB / 2.485 GB, free: 38.43 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/4.74, allocations: 0 / 2.485 GB, free: 38.43 MB / 0.6982 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007556/4.741, allocations: 0.4997 MB / 2.486 GB, free: 37.92 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/4.741, allocations: 4 kB / 2.486 GB, free: 37.92 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/4.741, allocations: 8.109 kB / 2.486 GB, free: 37.91 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/4.741, allocations: 8.047 kB / 2.486 GB, free: 37.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/4.741, allocations: 119.8 kB / 2.486 GB, free: 37.79 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/4.741, allocations: 10.88 kB / 2.486 GB, free: 37.78 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/4.742, allocations: 59.66 kB / 2.486 GB, free: 37.72 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/4.742, allocations: 27.89 kB / 2.486 GB, free: 37.69 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.0001255/4.742, allocations: 112.9 kB / 2.486 GB, free: 37.57 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/4.742, allocations: 75.14 kB / 2.486 GB, free: 37.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/4.743, allocations: 0.7238 MB / 2.487 GB, free: 36.8 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/4.743, allocations: 11.98 kB / 2.487 GB, free: 36.79 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/4.743, allocations: 0 / 2.487 GB, free: 36.79 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/4.743, allocations: 3.984 kB / 2.487 GB, free: 36.78 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008689/4.744, allocations: 0.8431 MB / 2.488 GB, free: 35.89 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/4.744, allocations: 0 / 2.488 GB, free: 35.89 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/4.745, allocations: 119.9 kB / 2.488 GB, free: 35.77 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/4.745, allocations: 4 kB / 2.488 GB, free: 35.77 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/4.745, allocations: 11.92 kB / 2.488 GB, free: 35.76 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/4.745, allocations: 8.031 kB / 2.488 GB, free: 35.75 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/4.745, allocations: 0 / 2.488 GB, free: 35.75 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008279/4.745, allocations: 0.5954 MB / 2.488 GB, free: 35.13 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008976/4.746, allocations: 0.9941 MB / 2.489 GB, free: 34.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/4.747, allocations: 256 kB / 2.49 GB, free: 33.83 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/4.747, allocations: 4 kB / 2.49 GB, free: 33.82 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/4.747, allocations: 47.95 kB / 2.49 GB, free: 33.78 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/4.747, allocations: 44.59 kB / 2.49 GB, free: 33.73 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/4.747, allocations: 23.98 kB / 2.49 GB, free: 33.71 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004459/4.748, allocations: 406.9 kB / 2.49 GB, free: 33.32 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001477/4.749, allocations: 275.3 kB / 2.49 GB, free: 33.05 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.001243/4.751, allocations: 0.4974 MB / 2.491 GB, free: 32.66 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0007042/4.751, allocations: 450.4 kB / 2.491 GB, free: 32.22 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/4.751, allocations: 4.062 kB / 2.491 GB, free: 32.22 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/4.752, allocations: 262.4 kB / 2.492 GB, free: 31.96 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/4.753, allocations: 191 kB / 2.492 GB, free: 31.79 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/4.755, allocations: 1.001 MB / 2.493 GB, free: 30.75 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006268/4.755, allocations: 1.065 MB / 2.494 GB, free: 29.66 MB / 0.6982 GB Notification: Performance of SimCode: time 7.31e-07/4.755, allocations: 0 / 2.494 GB, free: 29.66 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_fmu --startTime=-4.71744e+07 --stopTime=4.74336e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1)