Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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 8.0.0/package.mo): time 2.145/2.145, allocations: 284.8 MB / 292.1 MB, free: 1.559 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 186.1 kB / 360.3 MB, free: 15.7 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.1 MB / 0.6187 GB, free: 6.699 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001218, allocations: 82.44 kB / 0.7317 GB, free: 46.85 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2404/0.2417, allocations: 121.4 MB / 0.8502 GB, free: 13.7 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.8262, allocations: 115.2 MB / 0.9627 GB, free: 86.48 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.282/5.108, allocations: 2.071 GB / 3.034 GB, free: 25.26 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/5.109, allocations: 92.94 kB / 3.034 GB, free: 25.21 MB / 0.9405 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.5914/5.7, allocations: 59.26 MB / 3.092 GB, free: 317 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/5.7, allocations: 8.625 kB / 3.092 GB, free: 317 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/5.702, allocations: 194.2 kB / 3.092 GB, free: 317 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/5.704, allocations: 0.6069 MB / 3.093 GB, free: 316.6 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-05/5.704, allocations: 30.09 kB / 3.093 GB, free: 316.6 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/5.704, allocations: 47.06 kB / 3.093 GB, free: 316.6 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002539/5.706, allocations: 0.968 MB / 3.094 GB, free: 316.3 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/5.708, allocations: 0.699 MB / 3.094 GB, free: 316 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/5.708, allocations: 0 / 3.094 GB, free: 316 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/5.709, allocations: 1.438 kB / 3.094 GB, free: 316 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/5.709, allocations: 18.12 kB / 3.094 GB, free: 316 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005719/5.714, allocations: 2.228 MB / 3.096 GB, free: 314.8 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/5.716, allocations: 0.6262 MB / 3.097 GB, free: 314.6 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/5.717, allocations: 235.1 kB / 3.097 GB, free: 314.5 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/5.717, allocations: 37.83 kB / 3.097 GB, free: 314.5 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008568/5.718, allocations: 367.9 kB / 3.098 GB, free: 314.3 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=71): time 3.667e-06/5.718, allocations: 0 / 3.098 GB, free: 314.3 MB / 0.9405 GB Notification: Performance of matching and sorting (n=71): time 0.00284/5.721, allocations: 0.6196 MB / 3.098 GB, free: 314.1 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/5.721, allocations: 244.5 kB / 3.099 GB, free: 313.8 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/5.722, allocations: 0.4943 MB / 3.099 GB, free: 313.5 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 0.0001696/5.722, allocations: 28.02 kB / 3.099 GB, free: 313.5 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/5.722, allocations: 289 kB / 3.099 GB, free: 313.3 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/5.723, allocations: 220.7 kB / 3.1 GB, free: 313.1 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/5.723, allocations: 3.094 kB / 3.1 GB, free: 313.1 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 0.0001303/5.723, allocations: 381.1 kB / 3.1 GB, free: 312.8 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/5.723, allocations: 181.2 kB / 3.1 GB, free: 312.7 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/5.724, allocations: 290.6 kB / 3.1 GB, free: 312.5 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/5.725, allocations: 234.1 kB / 3.101 GB, free: 312.5 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/5.725, allocations: 3.906 kB / 3.101 GB, free: 312.4 MB / 0.9405 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002646/5.727, allocations: 0.6364 MB / 3.101 GB, free: 312.2 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/5.727, allocations: 5.125 kB / 3.101 GB, free: 312.2 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/5.727, allocations: 0.9062 kB / 3.101 GB, free: 312.2 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/5.729, allocations: 84.86 kB / 3.101 GB, free: 312.2 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/5.73, allocations: 135.4 kB / 3.101 GB, free: 312.2 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/5.733, allocations: 1.458 MB / 3.103 GB, free: 310.8 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/5.734, allocations: 67.8 kB / 3.103 GB, free: 310.8 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/5.734, allocations: 32.45 kB / 3.103 GB, free: 310.8 MB / 0.9405 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (74): * Single equations (assignments): 73 * 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.0002457/5.734, allocations: 113.8 kB / 3.103 GB, free: 310.7 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/5.734, allocations: 74.09 kB / 3.103 GB, free: 310.7 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00371/5.738, allocations: 0.8905 MB / 3.104 GB, free: 310.3 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/5.738, allocations: 12.62 kB / 3.104 GB, free: 310.3 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/5.738, allocations: 4 kB / 3.104 GB, free: 310.3 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/5.738, allocations: 4.781 kB / 3.104 GB, free: 310.3 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/5.74, allocations: 0.7195 MB / 3.105 GB, free: 310 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/5.74, allocations: 0 / 3.105 GB, free: 310 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/5.741, allocations: 142.1 kB / 3.105 GB, free: 310 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009666/5.742, allocations: 86.52 kB / 3.105 GB, free: 309.9 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/5.742, allocations: 13.86 kB / 3.105 GB, free: 309.9 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/5.745, allocations: 1.477 MB / 3.106 GB, free: 308.6 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/5.745, allocations: 0 / 3.106 GB, free: 308.6 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002715/5.748, allocations: 0.7425 MB / 3.107 GB, free: 308.3 MB / 0.9405 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002875/5.751, allocations: 1.132 MB / 3.108 GB, free: 307.6 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/5.751, allocations: 272.9 kB / 3.108 GB, free: 307.4 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/5.751, allocations: 1.969 kB / 3.108 GB, free: 307.4 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/5.752, allocations: 54.56 kB / 3.109 GB, free: 307.4 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/5.753, allocations: 59.89 kB / 3.109 GB, free: 307.4 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.523e-05/5.753, allocations: 31.69 kB / 3.109 GB, free: 307.4 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.0008062/5.754, allocations: 404.3 kB / 3.109 GB, free: 307.2 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.002459/5.756, allocations: 372.4 kB / 3.109 GB, free: 307 MB / 0.9405 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.00223/5.758, allocations: 1.011 MB / 3.11 GB, free: 306.7 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.002198/5.76, allocations: 0.6315 MB / 3.111 GB, free: 306.4 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/5.761, allocations: 5.094 kB / 3.111 GB, free: 306.4 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/5.762, allocations: 432.5 kB / 3.111 GB, free: 306.2 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/5.764, allocations: 216.2 kB / 3.112 GB, free: 306.2 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/5.77, allocations: 1.301 MB / 3.113 GB, free: 305.7 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/5.771, allocations: 1.112 MB / 3.114 GB, free: 305 MB / 0.9405 GB Notification: Performance of SimCode: time 1.242e-06/5.771, allocations: 0 / 3.114 GB, free: 305 MB / 0.9405 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)