Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.811/1.811, allocations: 387.2 MB / 394.5 MB, free: 4.395 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 173.4 kB / 487 MB, free: 10.93 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 221.3 MB / 0.7819 GB, free: 3.793 MB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.0009285, allocations: 106.3 kB / 0.9213 GB, free: 4.887 MB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 0.4623/0.4633, allocations: 148.4 MB / 1.066 GB, free: 140.9 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.6944, allocations: 142.3 MB / 1.205 GB, free: 14.55 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.929/3.624, allocations: 1.73 GB / 2.935 GB, free: 26.32 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/3.624, allocations: 79.95 kB / 2.935 GB, free: 26.24 MB / 1.143 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.59/4.214, allocations: 93.78 MB / 3.027 GB, free: 331.7 MB / 1.143 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/4.214, allocations: 7.875 kB / 3.027 GB, free: 331.7 MB / 1.143 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/4.216, allocations: 400 kB / 3.027 GB, free: 331.5 MB / 1.143 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/4.217, allocations: 1.024 MB / 3.028 GB, free: 331 MB / 1.143 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/4.217, allocations: 50.81 kB / 3.028 GB, free: 331 MB / 1.143 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/4.217, allocations: 85.55 kB / 3.028 GB, free: 331 MB / 1.143 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002165/4.219, allocations: 1.869 MB / 3.03 GB, free: 330.5 MB / 1.143 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/4.221, allocations: 1.269 MB / 3.031 GB, free: 330.1 MB / 1.143 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/4.221, allocations: 4 kB / 3.031 GB, free: 330 MB / 1.143 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/4.221, allocations: 3.906 kB / 3.031 GB, free: 330 MB / 1.143 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/4.221, allocations: 35.19 kB / 3.031 GB, free: 330 MB / 1.143 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00553/4.227, allocations: 4.288 MB / 3.036 GB, free: 327.8 MB / 1.143 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/4.228, allocations: 1.27 MB / 3.037 GB, free: 327.6 MB / 1.143 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/4.229, allocations: 474 kB / 3.037 GB, free: 327.5 MB / 1.143 GB Notification: Performance of preOpt evalFunc (simulation): time 9.991e-05/4.229, allocations: 62.95 kB / 3.037 GB, free: 327.5 MB / 1.143 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007833/4.23, allocations: 0.694 MB / 3.038 GB, free: 327.3 MB / 1.143 GB Notification: Performance of pre-optimization done (n=136): time 3.046e-06/4.23, allocations: 0 / 3.038 GB, free: 327.3 MB / 1.143 GB Notification: Performance of matching and sorting (n=136): time 0.002785/4.233, allocations: 1.234 MB / 3.039 GB, free: 327 MB / 1.143 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/4.233, allocations: 465.3 kB / 3.04 GB, free: 326.5 MB / 1.143 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009753/4.234, allocations: 0.9172 MB / 3.041 GB, free: 326.2 MB / 1.143 GB Notification: Performance of collectPreVariables (initialization): time 9.587e-05/4.234, allocations: 25.7 kB / 3.041 GB, free: 326.2 MB / 1.143 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/4.234, allocations: 445.7 kB / 3.041 GB, free: 325.9 MB / 1.143 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/4.234, allocations: 433.3 kB / 3.041 GB, free: 325.5 MB / 1.143 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/4.234, allocations: 0 / 3.041 GB, free: 325.5 MB / 1.143 GB Notification: Performance of setup shared object (initialization): time 7.916e-05/4.235, allocations: 347.3 kB / 3.042 GB, free: 325.2 MB / 1.143 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/4.235, allocations: 377.1 kB / 3.042 GB, free: 325.2 MB / 1.143 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/4.236, allocations: 0.5903 MB / 3.043 GB, free: 325 MB / 1.143 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007114/4.236, allocations: 490 kB / 3.043 GB, free: 324.9 MB / 1.143 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/4.236, allocations: 0 / 3.043 GB, free: 324.9 MB / 1.143 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002529/4.239, allocations: 1.264 MB / 3.044 GB, free: 324.6 MB / 1.143 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/4.239, allocations: 12.09 kB / 3.044 GB, free: 324.6 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/4.239, allocations: 0 / 3.044 GB, free: 324.6 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/4.24, allocations: 177.3 kB / 3.045 GB, free: 324.5 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/4.241, allocations: 264.9 kB / 3.045 GB, free: 324.4 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/4.244, allocations: 2.938 MB / 3.048 GB, free: 321.8 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/4.245, allocations: 125.5 kB / 3.048 GB, free: 321.8 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/4.245, allocations: 60.61 kB / 3.048 GB, free: 321.7 MB / 1.143 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.0002146/4.245, allocations: 136.3 kB / 3.048 GB, free: 321.6 MB / 1.143 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/4.246, allocations: 140.6 kB / 3.048 GB, free: 321.5 MB / 1.143 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/4.25, allocations: 1.877 MB / 3.05 GB, free: 321 MB / 1.143 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/4.25, allocations: 19.62 kB / 3.05 GB, free: 321 MB / 1.143 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/4.25, allocations: 0 / 3.05 GB, free: 321 MB / 1.143 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/4.25, allocations: 11.88 kB / 3.05 GB, free: 321 MB / 1.143 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/4.251, allocations: 1.333 MB / 3.051 GB, free: 320.3 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/4.251, allocations: 0 / 3.051 GB, free: 320.3 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/4.252, allocations: 278.4 kB / 3.052 GB, free: 320.2 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009487/4.253, allocations: 167.4 kB / 3.052 GB, free: 320.1 MB / 1.143 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/4.253, allocations: 35.67 kB / 3.052 GB, free: 320.1 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/4.256, allocations: 2.968 MB / 3.055 GB, free: 317.3 MB / 1.143 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/4.256, allocations: 0 / 3.055 GB, free: 317.3 MB / 1.143 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002928/4.259, allocations: 1.464 MB / 3.056 GB, free: 316.5 MB / 1.143 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003369/4.262, allocations: 1.88 MB / 3.058 GB, free: 315.4 MB / 1.143 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007611/4.263, allocations: 477.6 kB / 3.058 GB, free: 315 MB / 1.143 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/4.263, allocations: 4 kB / 3.058 GB, free: 315 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/4.264, allocations: 118.2 kB / 3.059 GB, free: 314.9 MB / 1.143 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/4.264, allocations: 100.5 kB / 3.059 GB, free: 314.9 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/4.265, allocations: 61.61 kB / 3.059 GB, free: 314.9 MB / 1.143 GB Notification: Performance of sort global known variables: time 0.0008509/4.265, allocations: 0.7107 MB / 3.059 GB, free: 314.5 MB / 1.143 GB Notification: Performance of remove unused functions: time 0.002052/4.267, allocations: 0.5894 MB / 3.06 GB, free: 314.2 MB / 1.143 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.001827/4.269, allocations: 1.128 MB / 3.061 GB, free: 313.8 MB / 1.143 GB Notification: Performance of simCode: created initialization part: time 0.002133/4.271, allocations: 1.276 MB / 3.062 GB, free: 313.1 MB / 1.143 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/4.271, allocations: 5.641 kB / 3.062 GB, free: 313.1 MB / 1.143 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/4.273, allocations: 0.8566 MB / 3.063 GB, free: 312.6 MB / 1.143 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/4.275, allocations: 419.2 kB / 3.064 GB, free: 312.4 MB / 1.143 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006392/4.281, allocations: 2.56 MB / 3.066 GB, free: 311.2 MB / 1.143 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/4.282, allocations: 1.518 MB / 3.068 GB, free: 310.1 MB / 1.143 GB Notification: Performance of SimCode: time 8.62e-07/4.282, allocations: 4 kB / 3.068 GB, free: 310.1 MB / 1.143 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat does not exist to compare? outputFormat=mat