Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009462/0.0009462, allocations: 181.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.021/1.021, allocations: 205.1 MB / 0.6195 GB, free: 11.95 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007755/0.0007755, allocations: 90.98 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1787/0.1795, allocations: 121.4 MB / 0.8511 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.6011, allocations: 115.3 MB / 0.9638 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.708/3.309, allocations: 2.071 GB / 3.035 GB, free: 64.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/3.309, allocations: 100.2 kB / 3.035 GB, free: 64.61 MB / 0.948 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.1164/3.426, allocations: 59.27 MB / 3.093 GB, free: 5.344 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/3.426, allocations: 12.5 kB / 3.093 GB, free: 5.332 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000899/3.427, allocations: 186.6 kB / 3.093 GB, free: 5.148 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008853/3.428, allocations: 0.6075 MB / 3.094 GB, free: 4.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/3.428, allocations: 28 kB / 3.094 GB, free: 4.473 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/3.428, allocations: 44 kB / 3.094 GB, free: 4.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001197/3.429, allocations: 0.964 MB / 3.095 GB, free: 3.465 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/3.43, allocations: 0.7037 MB / 3.095 GB, free: 2.723 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/3.43, allocations: 0 / 3.095 GB, free: 2.723 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/3.43, allocations: 0 / 3.095 GB, free: 2.723 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/3.43, allocations: 20.56 kB / 3.095 GB, free: 2.703 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/3.433, allocations: 2.224 MB / 3.098 GB, free: 432 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2211/3.654, allocations: 0.6332 MB / 3.098 GB, free: 398.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/3.654, allocations: 233.4 kB / 3.098 GB, free: 398.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.53e-05/3.654, allocations: 26.38 kB / 3.099 GB, free: 398.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004358/3.655, allocations: 371.6 kB / 3.099 GB, free: 398.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 2.836e-06/3.655, allocations: 3.812 kB / 3.099 GB, free: 398.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.00141/3.656, allocations: 0.6215 MB / 3.099 GB, free: 398.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/3.656, allocations: 243.5 kB / 3.1 GB, free: 398.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/3.657, allocations: 0.4996 MB / 3.1 GB, free: 398.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/3.657, allocations: 28.98 kB / 3.1 GB, free: 398.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/3.657, allocations: 289.7 kB / 3.1 GB, free: 398.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/3.657, allocations: 220 kB / 3.101 GB, free: 398 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/3.657, allocations: 2.438 kB / 3.101 GB, free: 398 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/3.657, allocations: 376.2 kB / 3.101 GB, free: 397.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/3.658, allocations: 181.3 kB / 3.101 GB, free: 397.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/3.658, allocations: 291.8 kB / 3.102 GB, free: 397.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/3.658, allocations: 234.7 kB / 3.102 GB, free: 397.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/3.658, allocations: 0 / 3.102 GB, free: 397.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001195/3.659, allocations: 0.6375 MB / 3.102 GB, free: 397.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/3.659, allocations: 5.031 kB / 3.102 GB, free: 397.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/3.659, allocations: 0 / 3.102 GB, free: 397.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/3.66, allocations: 84.86 kB / 3.102 GB, free: 397.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/3.661, allocations: 133.6 kB / 3.103 GB, free: 397.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/3.662, allocations: 1.46 MB / 3.104 GB, free: 396.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/3.662, allocations: 61.66 kB / 3.104 GB, free: 396.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/3.663, allocations: 22.83 kB / 3.104 GB, free: 396.2 MB / 0.948 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.0001208/3.663, allocations: 130.4 kB / 3.104 GB, free: 396.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.09e-05/3.663, allocations: 68.78 kB / 3.104 GB, free: 396.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/3.664, allocations: 0.8907 MB / 3.105 GB, free: 396 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/3.664, allocations: 16.23 kB / 3.105 GB, free: 396 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/3.664, allocations: 3.562 kB / 3.105 GB, free: 396 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/3.664, allocations: 7.828 kB / 3.105 GB, free: 396 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/3.665, allocations: 0.727 MB / 3.106 GB, free: 395.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/3.665, allocations: 11.45 kB / 3.106 GB, free: 395.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/3.666, allocations: 141.9 kB / 3.106 GB, free: 395.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/3.666, allocations: 83.47 kB / 3.106 GB, free: 395.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/3.666, allocations: 14.44 kB / 3.106 GB, free: 395.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/3.668, allocations: 1.473 MB / 3.108 GB, free: 394.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/3.668, allocations: 3.594 kB / 3.108 GB, free: 394.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001173/3.669, allocations: 0.7269 MB / 3.108 GB, free: 394.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001273/3.67, allocations: 1.14 MB / 3.109 GB, free: 394 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/3.67, allocations: 276 kB / 3.11 GB, free: 393.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/3.67, allocations: 0 / 3.11 GB, free: 393.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/3.671, allocations: 56.94 kB / 3.11 GB, free: 393.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/3.671, allocations: 50.08 kB / 3.11 GB, free: 393.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/3.671, allocations: 28.55 kB / 3.11 GB, free: 393.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003315/3.671, allocations: 410.3 kB / 3.11 GB, free: 393.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001336/3.673, allocations: 372.4 kB / 3.111 GB, free: 393.7 MB / 0.948 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.001228/3.674, allocations: 1.005 MB / 3.111 GB, free: 393.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009027/3.675, allocations: 0.6326 MB / 3.112 GB, free: 393.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/3.675, allocations: 3.844 kB / 3.112 GB, free: 393.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/3.675, allocations: 435.6 kB / 3.113 GB, free: 393.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/3.676, allocations: 207 kB / 3.113 GB, free: 393.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/3.679, allocations: 1.307 MB / 3.114 GB, free: 393.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005579/3.68, allocations: 1.118 MB / 3.115 GB, free: 392.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/3.68, allocations: 0 / 3.115 GB, free: 392.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)