Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 188 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4536/0.4536, allocations: 90.84 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.3 MB / 342.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009589, allocations: 96.23 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1837/0.1847, allocations: 78.45 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.5962, allocations: 72.3 MB / 0.553 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.601/4.197, allocations: 1.686 GB / 2.239 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/4.198, allocations: 90.72 kB / 2.239 GB, free: 106.8 MB / 0.6042 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.1599/4.358, allocations: 71.64 MB / 2.309 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/4.358, allocations: 8 kB / 2.309 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/4.362, allocations: 0.771 MB / 2.309 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/4.364, allocations: 0.6775 MB / 2.31 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/4.364, allocations: 36 kB / 2.31 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/4.364, allocations: 60 kB / 2.31 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0021/4.366, allocations: 1.417 MB / 2.312 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/4.367, allocations: 1.024 MB / 2.313 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/4.367, allocations: 0 / 2.313 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/4.367, allocations: 0 / 2.313 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/4.368, allocations: 31.91 kB / 2.313 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/4.373, allocations: 2.951 MB / 2.315 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/4.374, allocations: 0.9809 MB / 2.316 GB, free: 34.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/4.375, allocations: 433 kB / 2.317 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/4.375, allocations: 478.2 kB / 2.317 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007542/4.376, allocations: 0.5726 MB / 2.318 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=100): time 3.567e-06/4.376, allocations: 0 / 2.318 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100): time 0.002284/4.378, allocations: 0.9991 MB / 2.319 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/4.379, allocations: 248.3 kB / 2.319 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/4.379, allocations: 0.5023 MB / 2.32 GB, free: 31.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.569e-05/4.379, allocations: 29.64 kB / 2.32 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/4.379, allocations: 344.3 kB / 2.32 GB, free: 31.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/4.38, allocations: 315.2 kB / 2.32 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/4.38, allocations: 0 / 2.32 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001167/4.38, allocations: 382.8 kB / 2.321 GB, free: 30.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/4.38, allocations: 314 kB / 2.321 GB, free: 30.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/4.381, allocations: 448.7 kB / 2.321 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/4.382, allocations: 426.7 kB / 2.322 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/4.382, allocations: 0 / 2.322 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0021/4.384, allocations: 1.015 MB / 2.323 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/4.384, allocations: 11.94 kB / 2.323 GB, free: 28.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/4.384, allocations: 0 / 2.323 GB, free: 28.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/4.384, allocations: 84.88 kB / 2.323 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/4.386, allocations: 243.7 kB / 2.323 GB, free: 27.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/4.387, allocations: 1.457 MB / 2.324 GB, free: 26.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/4.389, allocations: 131.4 kB / 2.325 GB, free: 26.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/4.389, allocations: 39.97 kB / 2.325 GB, free: 26.13 MB / 0.6042 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.0002286/4.389, allocations: 124.7 kB / 2.325 GB, free: 26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/4.389, allocations: 79.06 kB / 2.325 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003092/4.392, allocations: 1.369 MB / 2.326 GB, free: 24.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/4.392, allocations: 12 kB / 2.326 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/4.392, allocations: 4 kB / 2.326 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/4.392, allocations: 3.984 kB / 2.326 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/4.396, allocations: 2.346 MB / 2.328 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/4.396, allocations: 4 kB / 2.328 GB, free: 22.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/4.397, allocations: 255.7 kB / 2.329 GB, free: 21.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/4.398, allocations: 88.72 kB / 2.329 GB, free: 21.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.173e-05/4.398, allocations: 19.97 kB / 2.329 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/4.4, allocations: 1.476 MB / 2.33 GB, free: 20.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/4.4, allocations: 0 / 2.33 GB, free: 20.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002161/4.402, allocations: 1.193 MB / 2.331 GB, free: 18.98 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002323/4.404, allocations: 1.608 MB / 2.333 GB, free: 17.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/4.405, allocations: 321.4 kB / 2.333 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/4.405, allocations: 3.984 kB / 2.333 GB, free: 17.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/4.406, allocations: 111.9 kB / 2.333 GB, free: 16.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/4.406, allocations: 64.89 kB / 2.333 GB, free: 16.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/4.406, allocations: 43.97 kB / 2.333 GB, free: 16.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004811/4.407, allocations: 406.9 kB / 2.334 GB, free: 16.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001898/4.409, allocations: 494.8 kB / 2.334 GB, free: 15.92 MB / 0.6042 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.001549/4.41, allocations: 1.082 MB / 2.335 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001539/4.412, allocations: 0.9713 MB / 2.336 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/4.412, allocations: 4 kB / 2.336 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008397/4.412, allocations: 0.6223 MB / 2.337 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009615/4.413, allocations: 201.4 kB / 2.337 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/4.417, allocations: 1.626 MB / 2.339 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009496/4.418, allocations: 1.218 MB / 2.34 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/4.418, allocations: 0 / 2.34 GB, free: 10.2 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)