Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_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.31/1.31, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0008614/0.0008614, allocations: 193.2 kB / 361.1 MB, free: 7.086 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.024/1.024, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0007629/0.0007628, allocations: 96.95 kB / 0.7326 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1822/0.1829, allocations: 121.4 MB / 0.8511 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.5888, allocations: 115.3 MB / 0.9638 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.869/3.458, allocations: 2.072 GB / 3.036 GB, free: 334.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/3.458, allocations: 86.62 kB / 3.036 GB, free: 334.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.1611/3.619, allocations: 80.3 MB / 3.114 GB, free: 284.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/3.619, allocations: 8 kB / 3.114 GB, free: 284.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009713/3.62, allocations: 230.2 kB / 3.114 GB, free: 284.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/3.621, allocations: 0.7093 MB / 3.115 GB, free: 283.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/3.621, allocations: 36 kB / 3.115 GB, free: 283.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/3.621, allocations: 64 kB / 3.115 GB, free: 283.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001434/3.623, allocations: 1.105 MB / 3.116 GB, free: 282.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/3.624, allocations: 0.9217 MB / 3.117 GB, free: 281.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/3.624, allocations: 3.938 kB / 3.117 GB, free: 281.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/3.624, allocations: 0 / 3.117 GB, free: 281.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/3.624, allocations: 28 kB / 3.117 GB, free: 281.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/3.628, allocations: 2.818 MB / 3.12 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000819/3.629, allocations: 0.6765 MB / 3.121 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/3.629, allocations: 265.5 kB / 3.121 GB, free: 277.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/3.629, allocations: 28.69 kB / 3.121 GB, free: 277.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/3.629, allocations: 398.2 kB / 3.121 GB, free: 277.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 2.194e-06/3.63, allocations: 3.938 kB / 3.121 GB, free: 277.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78): time 0.001424/3.631, allocations: 0.6755 MB / 3.122 GB, free: 276.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/3.631, allocations: 244 kB / 3.122 GB, free: 276.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005784/3.632, allocations: 0.5504 MB / 3.123 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/3.632, allocations: 25.7 kB / 3.123 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/3.632, allocations: 411.4 kB / 3.123 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/3.632, allocations: 256.2 kB / 3.123 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/3.632, allocations: 0 / 3.123 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/3.632, allocations: 378.8 kB / 3.124 GB, free: 274.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/3.632, allocations: 209.5 kB / 3.124 GB, free: 274.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/3.633, allocations: 311.5 kB / 3.124 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/3.633, allocations: 260.4 kB / 3.124 GB, free: 274 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/3.633, allocations: 0 / 3.124 GB, free: 274 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001299/3.634, allocations: 0.7017 MB / 3.125 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/3.634, allocations: 4 kB / 3.125 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/3.634, allocations: 4.062 kB / 3.125 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/3.635, allocations: 88.72 kB / 3.125 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/3.636, allocations: 147.8 kB / 3.125 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/3.637, allocations: 1.461 MB / 3.127 GB, free: 271.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/3.638, allocations: 67.52 kB / 3.127 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/3.638, allocations: 27.98 kB / 3.127 GB, free: 271.4 MB / 0.9323 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 (83): * Single equations (assignments): 82 * 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.0001295/3.638, allocations: 119.9 kB / 3.127 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/3.638, allocations: 86.97 kB / 3.127 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/3.64, allocations: 0.9499 MB / 3.128 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/3.64, allocations: 8 kB / 3.128 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/3.64, allocations: 4 kB / 3.128 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/3.64, allocations: 3.984 kB / 3.128 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006958/3.64, allocations: 0.849 MB / 3.129 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/3.64, allocations: 0 / 3.129 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/3.641, allocations: 151.8 kB / 3.129 GB, free: 269.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/3.641, allocations: 88.77 kB / 3.129 GB, free: 269.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/3.642, allocations: 11.98 kB / 3.129 GB, free: 269.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/3.643, allocations: 1.484 MB / 3.131 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/3.643, allocations: 0 / 3.131 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001255/3.644, allocations: 0.7839 MB / 3.131 GB, free: 266.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001351/3.645, allocations: 1.198 MB / 3.132 GB, free: 265.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/3.646, allocations: 291.9 kB / 3.133 GB, free: 265.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/3.646, allocations: 4 kB / 3.133 GB, free: 265.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005235/3.646, allocations: 51.95 kB / 3.133 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/3.647, allocations: 62.27 kB / 3.133 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/3.647, allocations: 27.98 kB / 3.133 GB, free: 265 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003701/3.647, allocations: 447.1 kB / 3.133 GB, free: 264.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001527/3.649, allocations: 434.5 kB / 3.134 GB, free: 264.2 MB / 0.9323 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 (89): * Single equations (assignments): 86 * 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.001309/3.65, allocations: 1 MB / 3.135 GB, free: 263.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0009398/3.651, allocations: 0.6864 MB / 3.135 GB, free: 262.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/3.651, allocations: 0 / 3.135 GB, free: 262.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005905/3.651, allocations: 468.6 kB / 3.136 GB, free: 262.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/3.652, allocations: 218.5 kB / 3.136 GB, free: 261.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/3.656, allocations: 1.54 MB / 3.138 GB, free: 260.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007142/3.656, allocations: 1.214 MB / 3.139 GB, free: 259.1 MB / 0.9323 GB Notification: Performance of SimCode: time 2.91e-07/3.656, allocations: 3.938 kB / 3.139 GB, free: 259.1 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)