Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.314/1.314, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009442/0.0009443, allocations: 181.2 kB / 361.1 MB, free: 7.105 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.034/1.034, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.000765/0.0007651, allocations: 87.14 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.183/0.1838, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.5944, allocations: 115.3 MB / 0.9637 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.926/3.52, allocations: 2.073 GB / 3.037 GB, free: 334.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/3.52, allocations: 92.02 kB / 3.037 GB, free: 334.5 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.1398/3.66, allocations: 70.16 MB / 3.105 GB, free: 294.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/3.66, allocations: 8.5 kB / 3.105 GB, free: 294.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004074/3.664, allocations: 0.7437 MB / 3.106 GB, free: 293.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/3.665, allocations: 0.6697 MB / 3.107 GB, free: 292.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/3.665, allocations: 32 kB / 3.107 GB, free: 292.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/3.666, allocations: 56 kB / 3.107 GB, free: 292.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001815/3.667, allocations: 1.397 MB / 3.108 GB, free: 291.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/3.669, allocations: 1.009 MB / 3.109 GB, free: 290.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/3.669, allocations: 4 kB / 3.109 GB, free: 290.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/3.669, allocations: 3.906 kB / 3.109 GB, free: 290.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/3.669, allocations: 24 kB / 3.109 GB, free: 290 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00471/3.674, allocations: 2.952 MB / 3.112 GB, free: 287 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/3.675, allocations: 0.9053 MB / 3.113 GB, free: 286.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/3.675, allocations: 425.5 kB / 3.113 GB, free: 285.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/3.676, allocations: 482.4 kB / 3.114 GB, free: 285.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006347/3.676, allocations: 0.5609 MB / 3.114 GB, free: 284.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=99): time 2.855e-06/3.676, allocations: 0 / 3.114 GB, free: 284.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=99): time 0.002028/3.679, allocations: 0.9836 MB / 3.115 GB, free: 283.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/3.679, allocations: 244.3 kB / 3.116 GB, free: 283.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/3.679, allocations: 0.503 MB / 3.116 GB, free: 282.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/3.679, allocations: 33.7 kB / 3.116 GB, free: 282.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/3.679, allocations: 324.4 kB / 3.116 GB, free: 282.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/3.68, allocations: 319.2 kB / 3.117 GB, free: 282.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/3.68, allocations: 3.938 kB / 3.117 GB, free: 282.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.105e-05/3.68, allocations: 382.8 kB / 3.117 GB, free: 281.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/3.68, allocations: 321.9 kB / 3.117 GB, free: 281.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/3.681, allocations: 430.4 kB / 3.118 GB, free: 280.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/3.681, allocations: 418.8 kB / 3.118 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/3.681, allocations: 4.594 kB / 3.118 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001919/3.683, allocations: 0.9952 MB / 3.119 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/3.683, allocations: 8.094 kB / 3.119 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/3.683, allocations: 0 / 3.119 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005621/3.684, allocations: 88.77 kB / 3.119 GB, free: 279.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/3.685, allocations: 235.7 kB / 3.12 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/3.687, allocations: 1.452 MB / 3.121 GB, free: 277.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/3.688, allocations: 132.1 kB / 3.121 GB, free: 277.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.382e-05/3.688, allocations: 43.97 kB / 3.121 GB, free: 277.4 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.0001872/3.688, allocations: 130.4 kB / 3.121 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/3.688, allocations: 79.06 kB / 3.121 GB, free: 277.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/3.691, allocations: 1.358 MB / 3.123 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/3.691, allocations: 12 kB / 3.123 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/3.691, allocations: 0 / 3.123 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/3.691, allocations: 7.969 kB / 3.123 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009176/3.692, allocations: 0.9567 MB / 3.124 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/3.692, allocations: 4.75 kB / 3.124 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/3.693, allocations: 247.6 kB / 3.124 GB, free: 274.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004916/3.694, allocations: 84.77 kB / 3.124 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.972e-05/3.694, allocations: 23.89 kB / 3.124 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/3.695, allocations: 1.476 MB / 3.125 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/3.695, allocations: 0 / 3.125 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001892/3.697, allocations: 1.098 MB / 3.126 GB, free: 271.8 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001991/3.699, allocations: 1.528 MB / 3.128 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/3.699, allocations: 316.4 kB / 3.128 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/3.7, allocations: 4 kB / 3.128 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/3.701, allocations: 111.9 kB / 3.128 GB, free: 269.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/3.701, allocations: 64.89 kB / 3.128 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/3.701, allocations: 31.98 kB / 3.128 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.000367/3.701, allocations: 418.8 kB / 3.129 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001653/3.703, allocations: 446.9 kB / 3.129 GB, free: 268.9 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.001348/3.704, allocations: 1.04 MB / 3.13 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001398/3.706, allocations: 0.9634 MB / 3.131 GB, free: 266.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/3.706, allocations: 0 / 3.131 GB, free: 266.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007972/3.706, allocations: 0.6146 MB / 3.132 GB, free: 266.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/3.707, allocations: 209 kB / 3.132 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/3.711, allocations: 1.592 MB / 3.134 GB, free: 264.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008637/3.712, allocations: 1.198 MB / 3.135 GB, free: 263.3 MB / 0.9323 GB Notification: Performance of SimCode: time 3.31e-07/3.712, allocations: 4 kB / 3.135 GB, free: 263.3 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)