Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.323/2.323, allocations: 284.8 MB / 292.1 MB, free: 9.898 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.002437/0.002437, allocations: 176 kB / 360.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.1 MB / 0.6187 GB, free: 3.262 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 100.1 kB / 0.7317 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5155/0.5168, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.7226, allocations: 115.2 MB / 0.9628 GB, free: 56.99 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.86/5.583, allocations: 2.073 GB / 3.036 GB, free: 168 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/5.583, allocations: 101.2 kB / 3.036 GB, free: 168 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.278/5.861, allocations: 70.15 MB / 3.104 GB, free: 108 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/5.861, allocations: 8 kB / 3.104 GB, free: 108 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008628/5.87, allocations: 0.7398 MB / 3.105 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/5.872, allocations: 0.6698 MB / 3.106 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/5.872, allocations: 32 kB / 3.106 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/5.872, allocations: 63.94 kB / 3.106 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003814/5.876, allocations: 1.394 MB / 3.107 GB, free: 105 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/5.879, allocations: 1.012 MB / 3.108 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/5.879, allocations: 0 / 3.108 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/5.879, allocations: 0 / 3.108 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/5.879, allocations: 27.91 kB / 3.108 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009705/5.889, allocations: 2.958 MB / 3.111 GB, free: 100.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/5.891, allocations: 0.9052 MB / 3.112 GB, free: 99.97 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/5.893, allocations: 420 kB / 3.112 GB, free: 99.56 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/5.894, allocations: 482.4 kB / 3.113 GB, free: 99 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/5.895, allocations: 0.5609 MB / 3.113 GB, free: 98.42 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=99): time 4.539e-06/5.895, allocations: 0 / 3.113 GB, free: 98.42 MB / 0.9323 GB Notification: Performance of matching and sorting (n=99): time 0.004438/5.9, allocations: 0.9913 MB / 3.114 GB, free: 97.41 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/5.9, allocations: 244.3 kB / 3.114 GB, free: 97.12 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/5.901, allocations: 0.5022 MB / 3.115 GB, free: 96.61 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002866/5.901, allocations: 25.7 kB / 3.115 GB, free: 96.58 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/5.902, allocations: 332.4 kB / 3.115 GB, free: 96.25 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/5.902, allocations: 311.3 kB / 3.116 GB, free: 95.94 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/5.902, allocations: 0 / 3.116 GB, free: 95.94 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001463/5.902, allocations: 394.6 kB / 3.116 GB, free: 95.55 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009825/5.903, allocations: 313.9 kB / 3.116 GB, free: 95.24 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/5.904, allocations: 434.3 kB / 3.117 GB, free: 94.78 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/5.906, allocations: 422.7 kB / 3.117 GB, free: 94.37 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/5.906, allocations: 0 / 3.117 GB, free: 94.37 MB / 0.9323 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.0041/5.91, allocations: 0.9952 MB / 3.118 GB, free: 93.37 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/5.91, allocations: 8.094 kB / 3.118 GB, free: 93.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/5.91, allocations: 0 / 3.118 GB, free: 93.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/5.911, allocations: 84.78 kB / 3.118 GB, free: 93.27 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/5.914, allocations: 239.6 kB / 3.118 GB, free: 93.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/5.917, allocations: 1.45 MB / 3.12 GB, free: 91.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/5.919, allocations: 131.3 kB / 3.12 GB, free: 91.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/5.919, allocations: 35.97 kB / 3.12 GB, free: 91.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0003346/5.92, allocations: 132.8 kB / 3.12 GB, free: 91.16 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/5.92, allocations: 79.06 kB / 3.12 GB, free: 91.09 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006235/5.926, allocations: 1.356 MB / 3.122 GB, free: 89.71 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/5.926, allocations: 12 kB / 3.122 GB, free: 89.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.862e-06/5.926, allocations: 0 / 3.122 GB, free: 89.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/5.926, allocations: 7.969 kB / 3.122 GB, free: 89.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/5.928, allocations: 0.9636 MB / 3.122 GB, free: 88.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/5.928, allocations: 4 kB / 3.122 GB, free: 88.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002685/5.931, allocations: 247.7 kB / 3.123 GB, free: 88.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/5.932, allocations: 88.77 kB / 3.123 GB, free: 88.36 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/5.932, allocations: 15.98 kB / 3.123 GB, free: 88.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/5.935, allocations: 1.476 MB / 3.124 GB, free: 86.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/5.935, allocations: 0 / 3.124 GB, free: 86.75 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004253/5.939, allocations: 1.102 MB / 3.125 GB, free: 85.62 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004697/5.944, allocations: 1.516 MB / 3.127 GB, free: 84.08 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009622/5.945, allocations: 315.8 kB / 3.127 GB, free: 83.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/5.945, allocations: 0 / 3.127 GB, free: 83.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002255/5.948, allocations: 115.9 kB / 3.127 GB, free: 83.64 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/5.948, allocations: 64.89 kB / 3.127 GB, free: 83.58 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/5.948, allocations: 39.97 kB / 3.127 GB, free: 83.54 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007913/5.949, allocations: 414.9 kB / 3.128 GB, free: 83.14 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002859/5.952, allocations: 446.8 kB / 3.128 GB, free: 82.7 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 (111): * Single equations (assignments): 108 * 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.002314/5.954, allocations: 1.039 MB / 3.129 GB, free: 81.76 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003083/5.957, allocations: 0.9634 MB / 3.13 GB, free: 80.79 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/5.957, allocations: 0 / 3.13 GB, free: 80.79 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/5.959, allocations: 0.6108 MB / 3.131 GB, free: 80.17 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/5.961, allocations: 218.3 kB / 3.131 GB, free: 79.95 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006906/5.968, allocations: 1.596 MB / 3.132 GB, free: 78.32 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/5.97, allocations: 1.206 MB / 3.134 GB, free: 77.09 MB / 0.9323 GB Notification: Performance of SimCode: time 1.824e-06/5.97, allocations: 3.938 kB / 3.134 GB, free: 77.09 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)