Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7333/0.7333, allocations: 141.8 MB / 149.1 MB, free: 12.01 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 184.5 kB / 181.9 MB, free: 8.762 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.4 MB / 436 MB, free: 0.9766 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 94.19 kB / 0.507 GB, free: 9.953 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00185/0.00185, allocations: 265.7 kB / 0.5884 GB, free: 6.789 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2065/0.2084, allocations: 89.66 MB / 0.676 GB, free: 13.04 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4979/0.7063, allocations: 82.76 MB / 0.7568 GB, free: 138 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.113/4.819, allocations: 1.693 GB / 2.449 GB, free: 54.34 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/4.82, allocations: 95.92 kB / 2.449 GB, free: 54.25 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.6341/5.454, allocations: 71.61 MB / 2.519 GB, free: 232.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/5.454, allocations: 10.31 kB / 2.519 GB, free: 232.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00522/5.459, allocations: 0.7736 MB / 2.52 GB, free: 232.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/5.462, allocations: 0.6783 MB / 2.521 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/5.462, allocations: 35.28 kB / 2.521 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004399/5.462, allocations: 58.47 kB / 2.521 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003752/5.466, allocations: 1.423 MB / 2.522 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/5.469, allocations: 1.03 MB / 2.523 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/5.469, allocations: 0 / 2.523 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/5.469, allocations: 3.875 kB / 2.523 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/5.469, allocations: 26.12 kB / 2.523 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007327/5.476, allocations: 2.964 MB / 2.526 GB, free: 231 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/5.478, allocations: 0.9778 MB / 2.527 GB, free: 230.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007772/5.479, allocations: 430.4 kB / 2.528 GB, free: 230.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008215/5.48, allocations: 483.6 kB / 2.528 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/5.481, allocations: 0.566 MB / 2.529 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=100): time 3.617e-06/5.481, allocations: 0 / 2.529 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=100): time 0.002858/5.484, allocations: 1.002 MB / 2.53 GB, free: 230.2 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/5.484, allocations: 250 kB / 2.53 GB, free: 229.9 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/5.485, allocations: 0.4932 MB / 2.53 GB, free: 229.8 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/5.485, allocations: 29.45 kB / 2.53 GB, free: 229.8 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/5.486, allocations: 345.1 kB / 2.531 GB, free: 229.6 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/5.486, allocations: 316.4 kB / 2.531 GB, free: 229.4 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/5.486, allocations: 0 / 2.531 GB, free: 229.4 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001668/5.486, allocations: 384.5 kB / 2.531 GB, free: 229 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006279/5.487, allocations: 319.1 kB / 2.532 GB, free: 229 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/5.487, allocations: 437.6 kB / 2.532 GB, free: 228.9 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/5.488, allocations: 442 kB / 2.532 GB, free: 228.9 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/5.488, allocations: 0 / 2.532 GB, free: 228.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002519/5.491, allocations: 1.01 MB / 2.533 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/5.491, allocations: 3.938 kB / 2.533 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/5.491, allocations: 0 / 2.533 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006641/5.492, allocations: 86.05 kB / 2.534 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/5.493, allocations: 248.2 kB / 2.534 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/5.495, allocations: 1.466 MB / 2.535 GB, free: 227.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/5.497, allocations: 135.8 kB / 2.535 GB, free: 227.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/5.497, allocations: 36.75 kB / 2.535 GB, free: 227.6 MB / 0.6982 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 (103): * Single equations (assignments): 102 * 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.0002815/5.497, allocations: 127.2 kB / 2.535 GB, free: 227.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/5.497, allocations: 80.34 kB / 2.536 GB, free: 227.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/5.501, allocations: 1.367 MB / 2.537 GB, free: 227.3 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/5.501, allocations: 16.62 kB / 2.537 GB, free: 227.3 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/5.501, allocations: 2.688 kB / 2.537 GB, free: 227.3 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/5.501, allocations: 7.453 kB / 2.537 GB, free: 227.3 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/5.507, allocations: 2.344 MB / 2.539 GB, free: 227 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/5.507, allocations: 0 / 2.539 GB, free: 227 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/5.508, allocations: 256.3 kB / 2.539 GB, free: 227 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005582/5.509, allocations: 83.03 kB / 2.54 GB, free: 226.9 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/5.509, allocations: 24.97 kB / 2.54 GB, free: 226.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/5.511, allocations: 1.481 MB / 2.541 GB, free: 225.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/5.511, allocations: 3.25 kB / 2.541 GB, free: 225.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003209/5.514, allocations: 1.183 MB / 2.542 GB, free: 225.4 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003433/5.517, allocations: 1.606 MB / 2.544 GB, free: 224.5 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000837/5.518, allocations: 326.7 kB / 2.544 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003683/5.518, allocations: 0 / 2.544 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/5.52, allocations: 114.9 kB / 2.544 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/5.52, allocations: 67.92 kB / 2.544 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/5.52, allocations: 39.58 kB / 2.544 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.000931/5.521, allocations: 409.5 kB / 2.545 GB, free: 224.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003069/5.524, allocations: 490 kB / 2.545 GB, free: 223.9 MB / 0.6982 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 110 * 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.003281/5.528, allocations: 1.082 MB / 2.546 GB, free: 223.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002497/5.53, allocations: 0.9769 MB / 2.547 GB, free: 223.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/5.53, allocations: 0 / 2.547 GB, free: 223.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/5.531, allocations: 0.6217 MB / 2.548 GB, free: 223 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/5.533, allocations: 216.6 kB / 2.548 GB, free: 222.9 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/5.539, allocations: 1.612 MB / 2.549 GB, free: 222.3 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/5.541, allocations: 1.221 MB / 2.551 GB, free: 221.5 MB / 0.6982 GB Notification: Performance of SimCode: time 1.022e-06/5.541, allocations: 0.7188 kB / 2.551 GB, free: 221.5 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)