Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 1.831/1.831, allocations: 390.4 MB / 397.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009673/0.0009672, allocations: 182.6 kB / 490.8 MB, free: 1.887 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.147/1.147, allocations: 221.4 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009124, allocations: 93.47 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4425/0.4434, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.6409, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.57/3.211, allocations: 1.731 GB / 2.942 GB, free: 107.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/3.211, allocations: 84.48 kB / 2.942 GB, free: 107 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.1924/3.404, allocations: 93.8 MB / 3.034 GB, free: 18.24 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/3.404, allocations: 8 kB / 3.034 GB, free: 18.23 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/3.406, allocations: 397.3 kB / 3.034 GB, free: 17.84 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/3.407, allocations: 1.023 MB / 3.035 GB, free: 16.77 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/3.408, allocations: 44 kB / 3.035 GB, free: 16.72 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/3.408, allocations: 80 kB / 3.035 GB, free: 16.64 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002405/3.41, allocations: 1.879 MB / 3.037 GB, free: 14.76 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/3.412, allocations: 1.277 MB / 3.039 GB, free: 13.39 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/3.412, allocations: 0 / 3.039 GB, free: 13.39 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/3.412, allocations: 8 kB / 3.039 GB, free: 13.39 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/3.412, allocations: 32 kB / 3.039 GB, free: 13.36 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005841/3.418, allocations: 4.283 MB / 3.043 GB, free: 8.992 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/3.42, allocations: 1.255 MB / 3.044 GB, free: 7.711 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/3.42, allocations: 473.9 kB / 3.044 GB, free: 7.242 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/3.42, allocations: 65.36 kB / 3.044 GB, free: 7.176 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008202/3.421, allocations: 0.6887 MB / 3.045 GB, free: 6.461 MB / 1.151 GB Notification: Performance of pre-optimization done (n=136): time 2.605e-06/3.421, allocations: 0 / 3.045 GB, free: 6.461 MB / 1.151 GB Notification: Performance of matching and sorting (n=136): time 0.002761/3.424, allocations: 1.244 MB / 3.046 GB, free: 5.207 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/3.424, allocations: 450.3 kB / 3.047 GB, free: 4.664 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/3.425, allocations: 0.9186 MB / 3.048 GB, free: 3.73 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.172e-05/3.425, allocations: 29.7 kB / 3.048 GB, free: 3.695 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/3.425, allocations: 448.6 kB / 3.048 GB, free: 3.246 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/3.426, allocations: 433.4 kB / 3.049 GB, free: 2.816 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/3.426, allocations: 0 / 3.049 GB, free: 2.816 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/3.426, allocations: 357.9 kB / 3.049 GB, free: 2.461 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/3.426, allocations: 374.5 kB / 3.049 GB, free: 2.098 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/3.427, allocations: 0.5814 MB / 3.05 GB, free: 1.441 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00072/3.428, allocations: 499.4 kB / 3.05 GB, free: 0.957 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/3.428, allocations: 0 / 3.05 GB, free: 0.957 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.2907/3.718, allocations: 1.267 MB / 3.052 GB, free: 0.503 GB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/3.718, allocations: 6.375 kB / 3.052 GB, free: 0.503 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/3.718, allocations: 0 / 3.052 GB, free: 0.503 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/3.719, allocations: 169.4 kB / 3.052 GB, free: 0.503 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/3.721, allocations: 270.9 kB / 3.052 GB, free: 0.503 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/3.724, allocations: 2.93 MB / 3.055 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/3.725, allocations: 132.2 kB / 3.055 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/3.725, allocations: 54.48 kB / 3.055 GB, free: 0.5007 GB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * 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.0002907/3.726, allocations: 137.8 kB / 3.055 GB, free: 0.5006 GB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/3.726, allocations: 139.8 kB / 3.055 GB, free: 0.5006 GB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/3.73, allocations: 1.883 MB / 3.057 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/3.73, allocations: 13.66 kB / 3.057 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/3.73, allocations: 3.312 kB / 3.057 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/3.73, allocations: 7.312 kB / 3.057 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/3.732, allocations: 1.324 MB / 3.058 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/3.732, allocations: 5.703 kB / 3.058 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/3.733, allocations: 285.5 kB / 3.059 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009461/3.734, allocations: 165 kB / 3.059 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/3.734, allocations: 28.3 kB / 3.059 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/3.737, allocations: 2.978 MB / 3.062 GB, free: 0.4979 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/3.737, allocations: 2.812 kB / 3.062 GB, free: 0.4979 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002698/3.739, allocations: 1.462 MB / 3.063 GB, free: 0.4977 GB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002736/3.742, allocations: 1.888 MB / 3.065 GB, free: 0.4971 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006604/3.743, allocations: 478.7 kB / 3.066 GB, free: 0.4969 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/3.743, allocations: 3.406 kB / 3.066 GB, free: 0.4969 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/3.744, allocations: 114.7 kB / 3.066 GB, free: 0.4969 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/3.744, allocations: 99.78 kB / 3.066 GB, free: 0.4969 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/3.744, allocations: 61.2 kB / 3.066 GB, free: 0.4969 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.001034/3.745, allocations: 0.7133 MB / 3.066 GB, free: 0.4968 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.002335/3.748, allocations: 0.5927 MB / 3.067 GB, free: 0.4968 GB / 1.151 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.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * 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.001582/3.749, allocations: 1.129 MB / 3.068 GB, free: 0.4967 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001879/3.751, allocations: 1.271 MB / 3.069 GB, free: 0.4964 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/3.751, allocations: 6.594 kB / 3.069 GB, free: 0.4964 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/3.752, allocations: 0.8528 MB / 3.07 GB, free: 0.4962 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/3.754, allocations: 421.7 kB / 3.071 GB, free: 0.4962 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/3.759, allocations: 2.552 MB / 3.073 GB, free: 0.4957 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/3.761, allocations: 1.514 MB / 3.075 GB, free: 0.495 GB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/3.761, allocations: 0 / 3.075 GB, free: 0.495 GB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat does not exist to compare? outputFormat=mat