Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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/BuildSysPro 3.5.0/package.mo): time 0.7351/0.7352, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 185.3 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.1 MB / 399.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 94.27 kB / 476.3 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4034/0.4045, allocations: 82.88 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.6015, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.543/6.144, allocations: 2.146 GB / 2.767 GB, free: 65.74 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/6.145, allocations: 89.41 kB / 2.767 GB, free: 65.66 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.6279/6.773, allocations: 84.3 MB / 2.85 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/6.773, allocations: 11.66 kB / 2.85 GB, free: 183.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/6.784, allocations: 1.147 MB / 2.851 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/6.787, allocations: 0.8787 MB / 2.852 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/6.787, allocations: 44.38 kB / 2.852 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/6.787, allocations: 71.38 kB / 2.852 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003404/6.791, allocations: 2.017 MB / 2.854 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/6.793, allocations: 1.333 MB / 2.855 GB, free: 183.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/6.793, allocations: 0 / 2.855 GB, free: 183.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/6.793, allocations: 2.406 kB / 2.855 GB, free: 183.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/6.793, allocations: 32.44 kB / 2.855 GB, free: 183.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/6.805, allocations: 4.666 MB / 2.86 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/6.807, allocations: 1.386 MB / 2.861 GB, free: 181.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008284/6.808, allocations: 0.5313 MB / 2.861 GB, free: 181.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007348/6.809, allocations: 0.4908 MB / 2.862 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/6.81, allocations: 0.8038 MB / 2.863 GB, free: 181.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=137): time 4.548e-06/6.81, allocations: 0 / 2.863 GB, free: 181.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=137): time 0.004548/6.814, allocations: 1.491 MB / 2.864 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/6.815, allocations: 305.6 kB / 2.864 GB, free: 180.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/6.816, allocations: 0.7997 MB / 2.865 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/6.816, allocations: 31.27 kB / 2.865 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/6.817, allocations: 407.1 kB / 2.866 GB, free: 180.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003925/6.817, allocations: 430.3 kB / 2.866 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/6.817, allocations: 0 / 2.866 GB, free: 179.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001069/6.817, allocations: 349.3 kB / 2.866 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007038/6.818, allocations: 438.5 kB / 2.867 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/6.819, allocations: 0.5797 MB / 2.867 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/6.821, allocations: 0.6538 MB / 2.868 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/6.821, allocations: 0 / 2.868 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004257/6.825, allocations: 1.52 MB / 2.869 GB, free: 179.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/6.825, allocations: 7.625 kB / 2.869 GB, free: 179.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/6.825, allocations: 3.594 kB / 2.869 GB, free: 179.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/6.826, allocations: 170.3 kB / 2.87 GB, free: 179.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004679/6.831, allocations: 0.5428 MB / 2.87 GB, free: 179.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/6.834, allocations: 2.925 MB / 2.873 GB, free: 176.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/6.838, allocations: 252.4 kB / 2.873 GB, free: 176.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003311/6.838, allocations: 67.55 kB / 2.873 GB, free: 176.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim1.tStart,$PRE.weaDatInpCon.conTim.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004222/6.839, allocations: 129.7 kB / 2.873 GB, free: 176.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/6.839, allocations: 126.2 kB / 2.874 GB, free: 176.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006278/6.845, allocations: 2.104 MB / 2.876 GB, free: 176.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/6.845, allocations: 21.81 kB / 2.876 GB, free: 176.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/6.845, allocations: 0 / 2.876 GB, free: 176.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/6.845, allocations: 10.45 kB / 2.876 GB, free: 176.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/6.848, allocations: 1.362 MB / 2.877 GB, free: 176.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/6.848, allocations: 3.906 kB / 2.877 GB, free: 176.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004404/6.852, allocations: 0.5406 MB / 2.877 GB, free: 176.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/6.853, allocations: 166.2 kB / 2.878 GB, free: 176.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/6.854, allocations: 51.88 kB / 2.878 GB, free: 176.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/6.857, allocations: 2.97 MB / 2.881 GB, free: 173.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/6.857, allocations: 0 / 2.881 GB, free: 173.6 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004527/6.862, allocations: 1.656 MB / 2.882 GB, free: 173 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004776/6.866, allocations: 2.084 MB / 2.884 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/6.868, allocations: 495.8 kB / 2.885 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/6.868, allocations: 7 kB / 2.885 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/6.871, allocations: 233.7 kB / 2.885 GB, free: 171.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/6.871, allocations: 92.45 kB / 2.885 GB, free: 171.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/6.871, allocations: 73.19 kB / 2.885 GB, free: 171.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001063/6.872, allocations: 0.6261 MB / 2.886 GB, free: 171.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003222/6.875, allocations: 0.5726 MB / 2.886 GB, free: 171.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTim1.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 4 (weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002119/6.877, allocations: 1.099 MB / 2.887 GB, free: 170.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002824/6.88, allocations: 1.388 MB / 2.889 GB, free: 170.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/6.88, allocations: 1.5 kB / 2.889 GB, free: 170.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/6.882, allocations: 0.9063 MB / 2.89 GB, free: 169.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/6.884, allocations: 339.9 kB / 2.89 GB, free: 169.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/6.892, allocations: 2.471 MB / 2.892 GB, free: 168.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/6.894, allocations: 1.489 MB / 2.894 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/6.894, allocations: 0 / 2.894 GB, free: 167.9 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)