Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.7694/0.7694, allocations: 141.8 MB / 149.1 MB, free: 4.473 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.001386/0.001386, allocations: 179.4 kB / 181.9 MB, free: 144 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.3 MB / 436 MB, free: 9.273 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.0009849/0.000985, allocations: 98.45 kB / 0.507 GB, free: 24.28 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 284.9 kB / 0.5884 GB, free: 12.3 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2075/0.2093, allocations: 89.65 MB / 0.676 GB, free: 2.57 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.6888, allocations: 82.77 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.8141, allocations: 108.2 MB / 0.8624 GB, free: 4.555 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.8145, allocations: 83.92 kB / 0.8625 GB, free: 4.477 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.01215/0.8267, allocations: 4.853 MB / 0.8673 GB, free: 15.6 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.8267, allocations: 12 kB / 0.8673 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.8268, allocations: 76.12 kB / 0.8673 GB, free: 15.52 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.8272, allocations: 239.3 kB / 0.8676 GB, free: 15.24 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/0.8272, allocations: 150.6 kB / 0.8677 GB, free: 15.09 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.8273, allocations: 159.3 kB / 0.8679 GB, free: 14.94 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.637e-05/0.8274, allocations: 155.4 kB / 0.868 GB, free: 14.79 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.875e-05/0.8275, allocations: 101.6 kB / 0.8681 GB, free: 14.68 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.8276, allocations: 75.88 kB / 0.8682 GB, free: 14.61 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.651e-05/0.8276, allocations: 156.6 kB / 0.8683 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/0.8277, allocations: 155.2 kB / 0.8685 GB, free: 14.3 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.8281, allocations: 432.1 kB / 0.8689 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.8282, allocations: 178 kB / 0.8691 GB, free: 13.66 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.8282, allocations: 85.05 kB / 0.8691 GB, free: 13.57 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.8282, allocations: 75.94 kB / 0.8692 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.8283, allocations: 106.4 kB / 0.8693 GB, free: 13.39 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=0): time 1.973e-06/0.8283, allocations: 1.094 kB / 0.8693 GB, free: 13.39 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0): time 9.001e-05/0.8284, allocations: 25.7 kB / 0.8693 GB, free: 13.36 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.8284, allocations: 57.72 kB / 0.8694 GB, free: 13.29 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.8286, allocations: 100.9 kB / 0.8695 GB, free: 13.18 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.8286, allocations: 26.2 kB / 0.8695 GB, free: 13.15 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.8287, allocations: 84.7 kB / 0.8696 GB, free: 13.06 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.8287, allocations: 4.719 kB / 0.8696 GB, free: 13.06 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.8287, allocations: 0 / 0.8696 GB, free: 13.06 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.8288, allocations: 315.8 kB / 0.8699 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.8288, allocations: 4 kB / 0.8699 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.8289, allocations: 13.11 kB / 0.8699 GB, free: 12.73 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.8289, allocations: 4 kB / 0.8699 GB, free: 12.72 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.8289, allocations: 0.5312 kB / 0.8699 GB, free: 12.72 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001294/0.829, allocations: 42.39 kB / 0.87 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.8291, allocations: 4.625 kB / 0.87 GB, free: 12.67 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.8291, allocations: 0 / 0.87 GB, free: 12.67 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8291, allocations: 1.188 kB / 0.87 GB, free: 12.67 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-06/0.8291, allocations: 7.984 kB / 0.87 GB, free: 12.66 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.8291, allocations: 3.906 kB / 0.87 GB, free: 12.66 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.8292, allocations: 1.125 kB / 0.87 GB, free: 12.66 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.8292, allocations: 0.5 kB / 0.87 GB, free: 12.66 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001092/0.8293, allocations: 181.5 kB / 0.8702 GB, free: 12.48 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.8294, allocations: 108.8 kB / 0.8703 GB, free: 12.36 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.8295, allocations: 109.3 kB / 0.8704 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.63e-05/0.8296, allocations: 180.8 kB / 0.8705 GB, free: 12.06 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.998e-05/0.8296, allocations: 181.9 kB / 0.8707 GB, free: 11.88 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.377e-05/0.8297, allocations: 185.8 kB / 0.8709 GB, free: 11.69 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.83, allocations: 382.3 kB / 0.8713 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.54e-05/0.8301, allocations: 105.6 kB / 0.8714 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.8301, allocations: 101 kB / 0.8715 GB, free: 11.06 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.812e-05/0.8302, allocations: 177.2 kB / 0.8716 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.8302, allocations: 188.8 kB / 0.8718 GB, free: 10.69 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.476e-05/0.8303, allocations: 182.6 kB / 0.872 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.008e-05/0.8304, allocations: 181.3 kB / 0.8722 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001394/0.8305, allocations: 300.5 kB / 0.8724 GB, free: 10 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000349/0.8309, allocations: 0.6847 MB / 0.8731 GB, free: 9.297 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.831, allocations: 182.2 kB / 0.8733 GB, free: 9.094 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.8311, allocations: 184.5 kB / 0.8735 GB, free: 8.906 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.8312, allocations: 109.1 kB / 0.8736 GB, free: 8.793 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.8313, allocations: 180.3 kB / 0.8737 GB, free: 8.609 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.8313, allocations: 109 kB / 0.8738 GB, free: 8.496 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.569e-05/0.8314, allocations: 83.28 kB / 0.8739 GB, free: 8.414 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008863/0.8323, allocations: 7.984 kB / 0.8739 GB, free: 8.406 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002543/0.8325, allocations: 186.4 kB / 0.8741 GB, free: 8.219 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.8327, allocations: 11.88 kB / 0.8741 GB, free: 8.207 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8327, allocations: 0 / 0.8741 GB, free: 8.207 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.8327, allocations: 0 / 0.8741 GB, free: 8.207 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.833, allocations: 0.5225 MB / 0.8746 GB, free: 7.68 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.8332, allocations: 127.2 kB / 0.8747 GB, free: 7.531 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.8336, allocations: 0.6841 MB / 0.8754 GB, free: 6.82 MB / 0.5419 GB Notification: Performance of SimCode: time 2.21e-07/0.8336, allocations: 0 / 0.8754 GB, free: 6.82 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1)