Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.824/1.824, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009603/0.0009603, allocations: 180.3 kB / 487 MB, free: 5.375 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.176/1.176, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.000887/0.0008869, allocations: 101.2 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4399/0.4409, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.6361, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.802/3.438, allocations: 1.734 GB / 2.94 GB, free: 122 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/3.438, allocations: 90.45 kB / 2.94 GB, free: 122 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.2113/3.65, allocations: 102.3 MB / 3.04 GB, free: 19.33 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/3.65, allocations: 8 kB / 3.04 GB, free: 19.32 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/3.663, allocations: 2.127 MB / 3.042 GB, free: 17.19 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/3.665, allocations: 1.052 MB / 3.043 GB, free: 16.09 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/3.665, allocations: 64 kB / 3.043 GB, free: 16.03 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/3.665, allocations: 112 kB / 3.043 GB, free: 15.92 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004697/3.67, allocations: 2.862 MB / 3.046 GB, free: 13.05 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/3.673, allocations: 2.173 MB / 3.048 GB, free: 10.84 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/3.673, allocations: 3.906 kB / 3.048 GB, free: 10.84 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/3.674, allocations: 7.938 kB / 3.048 GB, free: 10.83 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/3.674, allocations: 52 kB / 3.048 GB, free: 10.78 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/3.687, allocations: 6.885 MB / 3.055 GB, free: 3.727 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/3.689, allocations: 1.832 MB / 3.056 GB, free: 1.871 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/3.691, allocations: 1.009 MB / 3.057 GB, free: 0.8672 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006261/3.691, allocations: 0.5033 MB / 3.058 GB, free: 276 kB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3334/4.025, allocations: 1.259 MB / 3.059 GB, free: 0.5062 GB / 1.151 GB Notification: Performance of pre-optimization done (n=195): time 5.43e-06/4.025, allocations: 0 / 3.059 GB, free: 0.5062 GB / 1.151 GB Notification: Performance of matching and sorting (n=195): time 0.005725/4.03, allocations: 2.235 MB / 3.061 GB, free: 0.5062 GB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/4.031, allocations: 253.4 kB / 3.062 GB, free: 0.5059 GB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009797/4.032, allocations: 0.6411 MB / 3.062 GB, free: 0.5058 GB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002429/4.032, allocations: 25.7 kB / 3.062 GB, free: 0.5057 GB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/4.032, allocations: 0.5453 MB / 3.063 GB, free: 0.5056 GB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/4.033, allocations: 0.6125 MB / 3.063 GB, free: 0.5052 GB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/4.033, allocations: 0 / 3.063 GB, free: 0.5052 GB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001237/4.033, allocations: 428.8 kB / 3.064 GB, free: 0.5049 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/4.034, allocations: 0.7649 MB / 3.064 GB, free: 0.5049 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/4.036, allocations: 0.9415 MB / 3.065 GB, free: 0.5048 GB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/4.038, allocations: 1.033 MB / 3.066 GB, free: 0.5048 GB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/4.038, allocations: 0 / 3.066 GB, free: 0.5048 GB / 1.151 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004612/4.042, allocations: 2.295 MB / 3.069 GB, free: 0.5047 GB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/4.042, allocations: 7.312 kB / 3.069 GB, free: 0.5047 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/4.042, allocations: 0 / 3.069 GB, free: 0.5047 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/4.043, allocations: 84.8 kB / 3.069 GB, free: 0.5047 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003602/4.047, allocations: 0.5749 MB / 3.069 GB, free: 0.5047 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/4.048, allocations: 1.457 MB / 3.071 GB, free: 0.5035 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/4.051, allocations: 308.6 kB / 3.071 GB, free: 0.5034 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/4.051, allocations: 86.69 kB / 3.071 GB, free: 0.5034 GB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 205 * 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.0003812/4.052, allocations: 128.1 kB / 3.071 GB, free: 0.5033 GB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/4.052, allocations: 133.7 kB / 3.071 GB, free: 0.5033 GB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006812/4.059, allocations: 2.941 MB / 3.074 GB, free: 0.5031 GB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/4.059, allocations: 19.53 kB / 3.074 GB, free: 0.5031 GB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/4.059, allocations: 2.125 kB / 3.074 GB, free: 0.5031 GB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/4.059, allocations: 15.06 kB / 3.074 GB, free: 0.5031 GB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00809/4.067, allocations: 4.877 MB / 3.079 GB, free: 0.5027 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/4.067, allocations: 0 / 3.079 GB, free: 0.5027 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00347/4.071, allocations: 0.5636 MB / 3.08 GB, free: 0.5027 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/4.071, allocations: 86.53 kB / 3.08 GB, free: 0.5027 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/4.071, allocations: 45.94 kB / 3.08 GB, free: 0.5027 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/4.073, allocations: 1.492 MB / 3.081 GB, free: 0.5015 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/4.073, allocations: 0 / 3.081 GB, free: 0.5015 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004623/4.077, allocations: 2.424 MB / 3.084 GB, free: 0.5013 GB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004605/4.082, allocations: 2.848 MB / 3.086 GB, free: 0.5006 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009069/4.083, allocations: 0.527 MB / 3.087 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004426/4.083, allocations: 3.906 kB / 3.087 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/4.086, allocations: 250.4 kB / 3.087 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/4.087, allocations: 106.7 kB / 3.087 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002303/4.087, allocations: 86.44 kB / 3.087 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007522/4.088, allocations: 0.5321 MB / 3.088 GB, free: 0.5004 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.002628/4.09, allocations: 0.6741 MB / 3.088 GB, free: 0.5003 GB / 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * 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.001841/4.092, allocations: 1.091 MB / 3.089 GB, free: 0.5002 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003661/4.096, allocations: 2.13 MB / 3.092 GB, free: 0.5001 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/4.096, allocations: 2.312 kB / 3.092 GB, free: 0.5001 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/4.098, allocations: 1.246 MB / 3.093 GB, free: 0.5 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/4.099, allocations: 233.5 kB / 3.093 GB, free: 0.5 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006761/4.106, allocations: 2.827 MB / 3.096 GB, free: 0.499 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002184/4.108, allocations: 1.641 MB / 3.097 GB, free: 0.4983 GB / 1.151 GB Notification: Performance of SimCode: time 7.52e-07/4.108, allocations: 0 / 3.097 GB, free: 0.4983 GB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat does not exist to compare? outputFormat=mat