Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.823/1.823, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.000904/0.000904, allocations: 179.5 kB / 490.8 MB, free: 1.914 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.168/1.168, allocations: 221.3 MB / 0.7863 GB, free: 13.62 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.0008926/0.0008926, allocations: 81.09 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4867/0.4876, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.6721, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.674/3.347, allocations: 1.735 GB / 2.947 GB, free: 110.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/3.347, allocations: 91.5 kB / 2.947 GB, free: 110.3 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.21/3.557, allocations: 102.3 MB / 3.047 GB, free: 13.43 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/3.557, allocations: 8 kB / 3.047 GB, free: 13.42 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01309/3.57, allocations: 2.131 MB / 3.049 GB, free: 11.28 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/3.572, allocations: 1.052 MB / 3.05 GB, free: 10.18 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/3.572, allocations: 64 kB / 3.05 GB, free: 10.12 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005754/3.573, allocations: 116 kB / 3.05 GB, free: 10.01 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005079/3.578, allocations: 2.858 MB / 3.053 GB, free: 7.148 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/3.582, allocations: 2.165 MB / 3.055 GB, free: 4.945 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/3.582, allocations: 4 kB / 3.055 GB, free: 4.941 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/3.582, allocations: 7.984 kB / 3.055 GB, free: 4.934 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/3.582, allocations: 51.91 kB / 3.055 GB, free: 4.883 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3097/3.892, allocations: 6.873 MB / 3.062 GB, free: 0.5031 GB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/3.895, allocations: 1.838 MB / 3.064 GB, free: 0.503 GB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/3.896, allocations: 1.007 MB / 3.065 GB, free: 0.503 GB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/3.897, allocations: 0.5016 MB / 3.065 GB, free: 0.5026 GB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001652/3.898, allocations: 1.252 MB / 3.066 GB, free: 0.5025 GB / 1.151 GB Notification: Performance of pre-optimization done (n=195): time 3.857e-06/3.898, allocations: 6.047 kB / 3.066 GB, free: 0.5025 GB / 1.151 GB Notification: Performance of matching and sorting (n=195): time 0.004518/3.903, allocations: 2.238 MB / 3.068 GB, free: 0.5024 GB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/3.903, allocations: 258.1 kB / 3.069 GB, free: 0.5021 GB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/3.904, allocations: 0.6406 MB / 3.069 GB, free: 0.502 GB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/3.904, allocations: 25.7 kB / 3.069 GB, free: 0.502 GB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/3.904, allocations: 0.5477 MB / 3.07 GB, free: 0.5018 GB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/3.904, allocations: 0.6033 MB / 3.07 GB, free: 0.5014 GB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/3.905, allocations: 0 / 3.07 GB, free: 0.5014 GB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001036/3.905, allocations: 425.3 kB / 3.071 GB, free: 0.5011 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/3.906, allocations: 0.7702 MB / 3.072 GB, free: 0.5011 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/3.907, allocations: 0.9424 MB / 3.073 GB, free: 0.501 GB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/3.909, allocations: 1.03 MB / 3.074 GB, free: 0.501 GB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/3.909, allocations: 3.938 kB / 3.074 GB, free: 0.501 GB / 1.151 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004358/3.913, allocations: 2.284 MB / 3.076 GB, free: 0.5009 GB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/3.913, allocations: 7.594 kB / 3.076 GB, free: 0.5009 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/3.913, allocations: 3.375 kB / 3.076 GB, free: 0.5009 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/3.914, allocations: 88.41 kB / 3.076 GB, free: 0.5009 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/3.917, allocations: 0.5731 MB / 3.076 GB, free: 0.5009 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/3.919, allocations: 1.462 MB / 3.078 GB, free: 0.4997 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/3.922, allocations: 308.2 kB / 3.078 GB, free: 0.4996 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/3.922, allocations: 92.36 kB / 3.078 GB, free: 0.4996 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.0003668/3.922, allocations: 127.5 kB / 3.078 GB, free: 0.4995 GB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/3.923, allocations: 131.4 kB / 3.078 GB, free: 0.4995 GB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006368/3.929, allocations: 2.933 MB / 3.081 GB, free: 0.4993 GB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/3.929, allocations: 21.75 kB / 3.081 GB, free: 0.4993 GB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/3.929, allocations: 0 / 3.081 GB, free: 0.4993 GB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/3.929, allocations: 13.61 kB / 3.081 GB, free: 0.4993 GB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007236/3.936, allocations: 4.891 MB / 3.086 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/3.936, allocations: 0 / 3.086 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003407/3.94, allocations: 0.5668 MB / 3.087 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004997/3.94, allocations: 85.7 kB / 3.087 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/3.941, allocations: 42.12 kB / 3.087 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/3.942, allocations: 1.487 MB / 3.088 GB, free: 0.4977 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/3.942, allocations: 0 / 3.088 GB, free: 0.4977 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004169/3.946, allocations: 2.429 MB / 3.091 GB, free: 0.4974 GB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004332/3.95, allocations: 2.843 MB / 3.093 GB, free: 0.4968 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007319/3.951, allocations: 0.5254 MB / 3.094 GB, free: 0.4967 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/3.952, allocations: 12.78 kB / 3.094 GB, free: 0.4967 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002661/3.954, allocations: 251.8 kB / 3.094 GB, free: 0.4967 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/3.954, allocations: 109.3 kB / 3.094 GB, free: 0.4967 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/3.955, allocations: 79.06 kB / 3.094 GB, free: 0.4967 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005539/3.955, allocations: 0.5375 MB / 3.095 GB, free: 0.4966 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.002171/3.957, allocations: 0.6734 MB / 3.096 GB, free: 0.4965 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.001432/3.959, allocations: 1.093 MB / 3.097 GB, free: 0.4964 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002869/3.962, allocations: 2.13 MB / 3.099 GB, free: 0.4957 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/3.962, allocations: 0 / 3.099 GB, free: 0.4957 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/3.963, allocations: 1.243 MB / 3.1 GB, free: 0.4952 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/3.964, allocations: 234.3 kB / 3.1 GB, free: 0.4951 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/3.97, allocations: 2.832 MB / 3.103 GB, free: 0.494 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/3.972, allocations: 1.652 MB / 3.105 GB, free: 0.4933 GB / 1.151 GB Notification: Performance of SimCode: time 2.81e-07/3.972, allocations: 0 / 3.105 GB, free: 0.4933 GB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat does not exist to compare? outputFormat=mat