Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.152/2.152, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001533/0.001532, allocations: 177.3 kB / 360.3 MB, free: 7.535 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.647/1.647, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001227/0.001227, allocations: 91.39 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2385/0.2398, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5586/0.7984, allocations: 115.2 MB / 0.9627 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.281/5.08, allocations: 2.072 GB / 3.035 GB, free: 46.58 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/5.08, allocations: 86.27 kB / 3.035 GB, free: 46.54 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.672/5.752, allocations: 80.3 MB / 3.113 GB, free: 316.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/5.752, allocations: 11.66 kB / 3.113 GB, free: 316.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/5.754, allocations: 227.1 kB / 3.113 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/5.755, allocations: 0.7061 MB / 3.114 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/5.755, allocations: 38.11 kB / 3.114 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/5.756, allocations: 62.53 kB / 3.114 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002847/5.759, allocations: 1.117 MB / 3.115 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/5.761, allocations: 0.9147 MB / 3.116 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/5.761, allocations: 3.188 kB / 3.116 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/5.761, allocations: 0 / 3.116 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/5.761, allocations: 28.53 kB / 3.116 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006999/5.768, allocations: 2.817 MB / 3.119 GB, free: 315.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/5.77, allocations: 0.6859 MB / 3.119 GB, free: 315.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/5.771, allocations: 259.4 kB / 3.12 GB, free: 315.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/5.771, allocations: 24.62 kB / 3.12 GB, free: 315.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008526/5.772, allocations: 406.3 kB / 3.12 GB, free: 315.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 3.747e-06/5.772, allocations: 0 / 3.12 GB, free: 315.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=78): time 0.002755/5.774, allocations: 0.6752 MB / 3.121 GB, free: 315.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/5.774, allocations: 239.8 kB / 3.121 GB, free: 315 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/5.776, allocations: 0.557 MB / 3.122 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/5.776, allocations: 25.7 kB / 3.122 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/5.776, allocations: 410.8 kB / 3.122 GB, free: 314.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/5.776, allocations: 245.8 kB / 3.122 GB, free: 314.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/5.776, allocations: 0 / 3.122 GB, free: 314.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001327/5.777, allocations: 390.1 kB / 3.123 GB, free: 314.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005712/5.777, allocations: 207 kB / 3.123 GB, free: 314.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/5.778, allocations: 312.5 kB / 3.123 GB, free: 314 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/5.779, allocations: 263.5 kB / 3.123 GB, free: 314 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/5.779, allocations: 0 / 3.123 GB, free: 314 MB / 0.948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0027/5.781, allocations: 0.6981 MB / 3.124 GB, free: 313.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/5.781, allocations: 9.906 kB / 3.124 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/5.781, allocations: 2.344 kB / 3.124 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/5.782, allocations: 83.31 kB / 3.124 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/5.784, allocations: 146.7 kB / 3.124 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/5.787, allocations: 1.454 MB / 3.126 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/5.788, allocations: 70.61 kB / 3.126 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/5.788, allocations: 28.3 kB / 3.126 GB, free: 312.6 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 (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.0002644/5.788, allocations: 128.9 kB / 3.126 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/5.789, allocations: 81.03 kB / 3.126 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/5.793, allocations: 0.944 MB / 3.127 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/5.793, allocations: 9.625 kB / 3.127 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/5.793, allocations: 0 / 3.127 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/5.793, allocations: 7.141 kB / 3.127 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/5.795, allocations: 0.8456 MB / 3.128 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/5.795, allocations: 6.188 kB / 3.128 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/5.796, allocations: 153.9 kB / 3.128 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009984/5.797, allocations: 85.61 kB / 3.128 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/5.797, allocations: 15.5 kB / 3.128 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/5.8, allocations: 1.482 MB / 3.129 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/5.8, allocations: 0.875 kB / 3.129 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002888/5.803, allocations: 0.7915 MB / 3.13 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003024/5.806, allocations: 1.19 MB / 3.131 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006898/5.807, allocations: 281.5 kB / 3.132 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/5.807, allocations: 7.875 kB / 3.132 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/5.808, allocations: 60 kB / 3.132 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/5.808, allocations: 55.25 kB / 3.132 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/5.808, allocations: 28.7 kB / 3.132 GB, free: 310.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009271/5.809, allocations: 451.4 kB / 3.132 GB, free: 310.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002618/5.812, allocations: 426.1 kB / 3.133 GB, free: 309.9 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 (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.002305/5.814, allocations: 1.003 MB / 3.134 GB, free: 309.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002281/5.817, allocations: 0.6828 MB / 3.134 GB, free: 309.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/5.817, allocations: 0 / 3.134 GB, free: 309.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/5.818, allocations: 464 kB / 3.135 GB, free: 309.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/5.82, allocations: 229.8 kB / 3.135 GB, free: 309.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006874/5.827, allocations: 1.538 MB / 3.136 GB, free: 308.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/5.828, allocations: 1.2 MB / 3.138 GB, free: 307.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/5.828, allocations: 0 / 3.138 GB, free: 307.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)