Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.8086/0.8086, allocations: 141.8 MB / 149.1 MB, free: 0.6172 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.001033/0.001033, allocations: 182.9 kB / 182 MB, free: 12.81 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.411/1.411, allocations: 221.3 MB / 436 MB, free: 5.57 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.000984/0.0009841, allocations: 89.53 kB / 0.507 GB, free: 19.18 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 274 kB / 0.5885 GB, free: 6.758 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4277/0.4297, allocations: 89.65 MB / 0.676 GB, free: 140 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.5942, allocations: 82.78 MB / 0.7568 GB, free: 88.63 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.7393, allocations: 108 MB / 0.8623 GB, free: 12.47 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.7396, allocations: 90.44 kB / 0.8624 GB, free: 12.39 MB / 0.5419 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.01045/0.75, allocations: 3.612 MB / 0.8659 GB, free: 8.727 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7501, allocations: 8 kB / 0.8659 GB, free: 8.719 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/0.7502, allocations: 79.28 kB / 0.866 GB, free: 8.641 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.7504, allocations: 250.2 kB / 0.8663 GB, free: 8.355 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/0.7504, allocations: 154.6 kB / 0.8664 GB, free: 8.203 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.7506, allocations: 150.6 kB / 0.8665 GB, free: 8.055 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.27e-05/0.7506, allocations: 150.6 kB / 0.8667 GB, free: 7.906 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.386e-05/0.7507, allocations: 104.9 kB / 0.8668 GB, free: 7.797 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.7507, allocations: 83.28 kB / 0.8669 GB, free: 7.715 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.7508, allocations: 150.6 kB / 0.867 GB, free: 7.566 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-05/0.7509, allocations: 158.5 kB / 0.8672 GB, free: 7.41 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.7512, allocations: 434.4 kB / 0.8676 GB, free: 6.949 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.7513, allocations: 165.1 kB / 0.8677 GB, free: 6.777 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.7513, allocations: 84.08 kB / 0.8678 GB, free: 6.691 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.7514, allocations: 79.28 kB / 0.8679 GB, free: 6.613 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.7514, allocations: 109.8 kB / 0.868 GB, free: 6.496 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.7514, allocations: 0 / 0.868 GB, free: 6.496 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0): time 8.32e-05/0.7515, allocations: 29.7 kB / 0.868 GB, free: 6.461 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.7516, allocations: 51.41 kB / 0.8681 GB, free: 6.398 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.7517, allocations: 108.8 kB / 0.8682 GB, free: 6.285 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.7517, allocations: 25.7 kB / 0.8682 GB, free: 6.254 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.7518, allocations: 84.14 kB / 0.8683 GB, free: 6.168 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.7518, allocations: 4 kB / 0.8683 GB, free: 6.164 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.7518, allocations: 0 / 0.8683 GB, free: 6.164 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7519, allocations: 310.8 kB / 0.8686 GB, free: 5.852 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.7519, allocations: 4 kB / 0.8686 GB, free: 5.848 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.752, allocations: 11.98 kB / 0.8686 GB, free: 5.836 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.752, allocations: 4 kB / 0.8686 GB, free: 5.832 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.752, allocations: 0 / 0.8686 GB, free: 5.832 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001284/0.7522, allocations: 45.72 kB / 0.8686 GB, free: 5.781 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7522, allocations: 8 kB / 0.8687 GB, free: 5.773 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.7522, allocations: 0 / 0.8687 GB, free: 5.773 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.7522, allocations: 0 / 0.8687 GB, free: 5.773 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.7522, allocations: 0 / 0.8687 GB, free: 5.773 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.7522, allocations: 3.906 kB / 0.8687 GB, free: 5.77 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.7523, allocations: 0 / 0.8687 GB, free: 5.77 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.7523, allocations: 11.94 kB / 0.8687 GB, free: 5.758 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.0001211/0.7525, allocations: 180.2 kB / 0.8688 GB, free: 5.574 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.7525, allocations: 108.9 kB / 0.8689 GB, free: 5.461 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.413e-05/0.7526, allocations: 112.4 kB / 0.869 GB, free: 5.34 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-05/0.7527, allocations: 176.3 kB / 0.8692 GB, free: 5.16 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.846e-05/0.7528, allocations: 176.5 kB / 0.8694 GB, free: 4.98 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.059e-05/0.7529, allocations: 184.2 kB / 0.8696 GB, free: 4.793 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.7531, allocations: 389.8 kB / 0.8699 GB, free: 4.367 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.92e-05/0.7531, allocations: 101 kB / 0.87 GB, free: 4.262 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.7532, allocations: 112.9 kB / 0.8701 GB, free: 4.145 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/0.7533, allocations: 176.3 kB / 0.8703 GB, free: 3.965 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-05/0.7534, allocations: 176.3 kB / 0.8705 GB, free: 3.785 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.102e-05/0.7535, allocations: 181.2 kB / 0.8706 GB, free: 3.602 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.503e-05/0.7536, allocations: 196.2 kB / 0.8708 GB, free: 3.402 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001455/0.7538, allocations: 299.8 kB / 0.8711 GB, free: 3.086 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002787/0.754, allocations: 0.6761 MB / 0.8718 GB, free: 2.383 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.612e-05/0.7541, allocations: 186 kB / 0.872 GB, free: 2.176 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.7542, allocations: 180.3 kB / 0.8721 GB, free: 1.992 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.7543, allocations: 108.9 kB / 0.8722 GB, free: 1.879 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.7544, allocations: 184.1 kB / 0.8724 GB, free: 1.691 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.7544, allocations: 105 kB / 0.8725 GB, free: 1.582 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.058e-05/0.7545, allocations: 83.28 kB / 0.8726 GB, free: 1.5 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000918/0.7554, allocations: 12 kB / 0.8726 GB, free: 1.488 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.0002877/0.7557, allocations: 182.5 kB / 0.8728 GB, free: 1.301 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.7559, allocations: 7.984 kB / 0.8728 GB, free: 1.293 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7559, allocations: 0 / 0.8728 GB, free: 1.293 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.698e-06/0.7559, allocations: 0 / 0.8728 GB, free: 1.293 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.7562, allocations: 0.5242 MB / 0.8733 GB, free: 0.7656 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.7564, allocations: 131.2 kB / 0.8734 GB, free: 0.6133 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3067/1.063, allocations: 0.6833 MB / 0.8741 GB, free: 81.56 MB / 0.5419 GB Notification: Performance of SimCode: time 1.213e-06/1.063, allocations: 0 / 0.8741 GB, free: 81.56 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)