Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.406/1.406, allocations: 289.8 MB / 297 MB, free: 6.629 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.0009817/0.0009817, allocations: 192.2 kB / 366.3 MB, free: 1.93 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.156/1.156, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0008839/0.0008841, allocations: 105.8 kB / 0.7396 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2249/0.2259, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.7669, allocations: 116.3 MB / 0.9726 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.26/4.027, allocations: 2.074 GB / 3.047 GB, free: 1.477 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/4.028, allocations: 92.64 kB / 3.047 GB, free: 1.387 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.4732/4.501, allocations: 70.15 MB / 3.115 GB, free: 319.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/4.501, allocations: 12 kB / 3.115 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00432/4.505, allocations: 0.7397 MB / 3.116 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/4.507, allocations: 0.6697 MB / 3.117 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/4.507, allocations: 32 kB / 3.117 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/4.507, allocations: 60 kB / 3.117 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002158/4.509, allocations: 1.397 MB / 3.118 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/4.51, allocations: 1.001 MB / 3.119 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/4.51, allocations: 0 / 3.119 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.754e-05/4.51, allocations: 7.906 kB / 3.119 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/4.511, allocations: 27.94 kB / 3.119 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004881/4.515, allocations: 2.953 MB / 3.122 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/4.517, allocations: 0.906 MB / 3.123 GB, free: 311.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/4.517, allocations: 416.4 kB / 3.123 GB, free: 311.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/4.518, allocations: 486.4 kB / 3.124 GB, free: 310.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000666/4.518, allocations: 0.5648 MB / 3.124 GB, free: 310.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=99): time 3.527e-06/4.518, allocations: 3.984 kB / 3.124 GB, free: 310.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=99): time 0.002129/4.521, allocations: 0.9835 MB / 3.125 GB, free: 309.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/4.521, allocations: 244.3 kB / 3.125 GB, free: 308.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/4.521, allocations: 0.5022 MB / 3.126 GB, free: 308.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/4.521, allocations: 29.7 kB / 3.126 GB, free: 308.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/4.521, allocations: 332.3 kB / 3.126 GB, free: 307.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/4.522, allocations: 315.2 kB / 3.127 GB, free: 307.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/4.522, allocations: 0 / 3.127 GB, free: 307.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/4.522, allocations: 378.8 kB / 3.127 GB, free: 307.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/4.522, allocations: 314 kB / 3.127 GB, free: 306.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/4.523, allocations: 434.3 kB / 3.128 GB, free: 306.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007666/4.524, allocations: 418.7 kB / 3.128 GB, free: 306 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/4.524, allocations: 3.938 kB / 3.128 GB, free: 306 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001999/4.526, allocations: 0.9967 MB / 3.129 GB, free: 305 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/4.526, allocations: 13.23 kB / 3.129 GB, free: 305 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/4.526, allocations: 0 / 3.129 GB, free: 305 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006273/4.526, allocations: 84.88 kB / 3.129 GB, free: 304.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/4.528, allocations: 243.6 kB / 3.129 GB, free: 304.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/4.529, allocations: 1.453 MB / 3.131 GB, free: 303.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/4.53, allocations: 131.3 kB / 3.131 GB, free: 303 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.041e-05/4.53, allocations: 39.97 kB / 3.131 GB, free: 303 MB / 0.948 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.0001952/4.531, allocations: 116.8 kB / 3.131 GB, free: 302.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/4.531, allocations: 79.06 kB / 3.131 GB, free: 302.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/4.534, allocations: 1.372 MB / 3.132 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/4.534, allocations: 12 kB / 3.133 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/4.534, allocations: 0 / 3.133 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/4.534, allocations: 3.984 kB / 3.133 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009369/4.535, allocations: 0.9521 MB / 3.133 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/4.535, allocations: 0 / 3.133 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/4.536, allocations: 248.3 kB / 3.134 GB, free: 300.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005062/4.536, allocations: 80.78 kB / 3.134 GB, free: 300 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/4.536, allocations: 27.81 kB / 3.134 GB, free: 300 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/4.538, allocations: 1.477 MB / 3.135 GB, free: 298.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/4.538, allocations: 3.984 kB / 3.135 GB, free: 298.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001963/4.54, allocations: 1.098 MB / 3.136 GB, free: 297.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002054/4.542, allocations: 1.517 MB / 3.138 GB, free: 295.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/4.542, allocations: 315.6 kB / 3.138 GB, free: 295.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/4.542, allocations: 3.984 kB / 3.138 GB, free: 295.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/4.543, allocations: 107.9 kB / 3.138 GB, free: 295.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/4.544, allocations: 60.91 kB / 3.138 GB, free: 295.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.533e-05/4.544, allocations: 43.97 kB / 3.138 GB, free: 295.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004198/4.544, allocations: 414.8 kB / 3.139 GB, free: 294.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001734/4.546, allocations: 442.9 kB / 3.139 GB, free: 294.4 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 (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.001378/4.547, allocations: 1.054 MB / 3.14 GB, free: 293.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001396/4.549, allocations: 0.9632 MB / 3.141 GB, free: 292.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/4.549, allocations: 0 / 3.141 GB, free: 292.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007828/4.549, allocations: 0.6071 MB / 3.142 GB, free: 291.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/4.55, allocations: 211.4 kB / 3.142 GB, free: 291.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/4.554, allocations: 1.598 MB / 3.143 GB, free: 289.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009117/4.555, allocations: 1.198 MB / 3.145 GB, free: 288.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/4.555, allocations: 0 / 3.145 GB, free: 288.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)