Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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 9.1.1-maint.9.1.x/package.mo): time 1.837/1.837, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.0009499/0.0009499, allocations: 188.3 kB / 487 MB, free: 5.398 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.154/1.154, allocations: 221.4 MB / 0.7819 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000882/0.000882, allocations: 102.9 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4635/0.4644, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.6652, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.958/3.623, allocations: 1.73 GB / 2.935 GB, free: 103.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/3.623, allocations: 87.06 kB / 2.936 GB, free: 103.8 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.1268/3.75, allocations: 61.21 MB / 2.995 GB, free: 47.07 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/3.75, allocations: 8 kB / 2.995 GB, free: 47.06 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/3.751, allocations: 214.5 kB / 2.996 GB, free: 46.85 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/3.752, allocations: 0.6075 MB / 2.996 GB, free: 46.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/3.752, allocations: 24 kB / 2.996 GB, free: 46.18 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/3.752, allocations: 47.94 kB / 2.996 GB, free: 46.13 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001127/3.753, allocations: 0.9679 MB / 2.997 GB, free: 45.16 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008833/3.754, allocations: 0.6851 MB / 2.998 GB, free: 44.43 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/3.754, allocations: 0 / 2.998 GB, free: 44.43 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/3.754, allocations: 4 kB / 2.998 GB, free: 44.43 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/3.754, allocations: 16 kB / 2.998 GB, free: 44.41 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/3.757, allocations: 2.279 MB / 3 GB, free: 42.07 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007643/3.758, allocations: 0.6453 MB / 3.001 GB, free: 41.41 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/3.758, allocations: 258.8 kB / 3.001 GB, free: 41.16 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.597e-05/3.758, allocations: 32.69 kB / 3.001 GB, free: 41.13 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004418/3.759, allocations: 399.1 kB / 3.001 GB, free: 40.72 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.234e-06/3.759, allocations: 3.984 kB / 3.001 GB, free: 40.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001477/3.76, allocations: 0.6794 MB / 3.002 GB, free: 40.03 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/3.76, allocations: 243.9 kB / 3.002 GB, free: 39.73 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/3.761, allocations: 0.5218 MB / 3.003 GB, free: 39.21 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/3.761, allocations: 25.7 kB / 3.003 GB, free: 39.18 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/3.761, allocations: 268.4 kB / 3.003 GB, free: 38.91 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/3.761, allocations: 236.5 kB / 3.003 GB, free: 38.67 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/3.761, allocations: 0 / 3.003 GB, free: 38.67 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/3.761, allocations: 378.8 kB / 3.004 GB, free: 38.29 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/3.761, allocations: 193.3 kB / 3.004 GB, free: 38.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/3.762, allocations: 323.2 kB / 3.004 GB, free: 37.75 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/3.762, allocations: 255.1 kB / 3.004 GB, free: 37.51 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/3.762, allocations: 0 / 3.004 GB, free: 37.51 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001364/3.763, allocations: 0.6951 MB / 3.005 GB, free: 36.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/3.763, allocations: 4 kB / 3.005 GB, free: 36.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/3.763, allocations: 7.906 kB / 3.005 GB, free: 36.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/3.764, allocations: 84.86 kB / 3.005 GB, free: 36.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/3.765, allocations: 155.8 kB / 3.005 GB, free: 36.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/3.766, allocations: 1.461 MB / 3.007 GB, free: 34.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/3.767, allocations: 71.66 kB / 3.007 GB, free: 34.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/3.767, allocations: 35.97 kB / 3.007 GB, free: 34.86 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($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 (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000134/3.767, allocations: 120.8 kB / 3.007 GB, free: 34.74 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/3.767, allocations: 75.06 kB / 3.007 GB, free: 34.66 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/3.769, allocations: 1.054 MB / 3.008 GB, free: 33.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/3.77, allocations: 8 kB / 3.008 GB, free: 33.59 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/3.77, allocations: 8 kB / 3.008 GB, free: 33.58 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/3.77, allocations: 11.89 kB / 3.008 GB, free: 33.57 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/3.77, allocations: 0.7554 MB / 3.009 GB, free: 32.78 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/3.77, allocations: 0 / 3.009 GB, free: 32.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/3.771, allocations: 159.8 kB / 3.009 GB, free: 32.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004916/3.771, allocations: 84.72 kB / 3.009 GB, free: 32.54 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/3.771, allocations: 15.98 kB / 3.009 GB, free: 32.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/3.773, allocations: 1.496 MB / 3.01 GB, free: 30.91 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/3.773, allocations: 0 / 3.01 GB, free: 30.91 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001368/3.774, allocations: 0.7957 MB / 3.011 GB, free: 30.08 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001487/3.776, allocations: 1.202 MB / 3.012 GB, free: 28.86 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/3.776, allocations: 283.8 kB / 3.013 GB, free: 28.56 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/3.776, allocations: 7.938 kB / 3.013 GB, free: 28.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/3.777, allocations: 67.94 kB / 3.013 GB, free: 28.48 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/3.777, allocations: 56.59 kB / 3.013 GB, free: 28.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/3.777, allocations: 40.03 kB / 3.013 GB, free: 28.39 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003857/3.777, allocations: 423.2 kB / 3.013 GB, free: 27.97 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001581/3.779, allocations: 419.2 kB / 3.014 GB, free: 27.56 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/3.78, allocations: 1.078 MB / 3.015 GB, free: 26.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001017/3.781, allocations: 0.6703 MB / 3.015 GB, free: 25.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/3.781, allocations: 0 / 3.015 GB, free: 25.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005871/3.782, allocations: 468.7 kB / 3.016 GB, free: 25.43 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008415/3.783, allocations: 218.2 kB / 3.016 GB, free: 25.23 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/3.786, allocations: 1.336 MB / 3.017 GB, free: 23.86 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/3.786, allocations: 1.127 MB / 3.018 GB, free: 22.71 MB / 1.151 GB Notification: Performance of SimCode: time 4.11e-07/3.787, allocations: 3.938 kB / 3.018 GB, free: 22.71 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat does not exist to compare? outputFormat=mat