Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.7012/0.7012, allocations: 141.8 MB / 149.1 MB, free: 2.77 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 185.3 kB / 182 MB, free: 14.65 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.382/1.382, allocations: 221.3 MB / 436 MB, free: 7.695 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.001069/0.001069, allocations: 95.11 kB / 0.507 GB, free: 24.42 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001839/0.001839, allocations: 285.6 kB / 0.5885 GB, free: 10.88 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1706/0.1725, allocations: 89.65 MB / 0.676 GB, free: 1.148 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.5512, allocations: 82.76 MB / 0.7568 GB, free: 111.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.135/3.687, allocations: 1.691 GB / 2.448 GB, free: 18.46 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/3.687, allocations: 91.92 kB / 2.448 GB, free: 18.38 MB / 0.6825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.5632/4.25, allocations: 70.05 MB / 2.516 GB, free: 220.8 MB / 0.6825 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/4.25, allocations: 8 kB / 2.516 GB, free: 220.8 MB / 0.6825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/4.252, allocations: 230.3 kB / 2.516 GB, free: 220.6 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/4.253, allocations: 0.6276 MB / 2.517 GB, free: 219.9 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/4.253, allocations: 31.98 kB / 2.517 GB, free: 219.9 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/4.253, allocations: 52 kB / 2.517 GB, free: 219.9 MB / 0.6825 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001528/4.255, allocations: 1.03 MB / 2.518 GB, free: 218.8 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/4.256, allocations: 0.7771 MB / 2.519 GB, free: 218 MB / 0.6825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/4.256, allocations: 0.6562 kB / 2.519 GB, free: 218 MB / 0.6825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/4.256, allocations: 0 / 2.519 GB, free: 218 MB / 0.6825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/4.256, allocations: 27.94 kB / 2.519 GB, free: 218 MB / 0.6825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/4.26, allocations: 2.336 MB / 2.521 GB, free: 215.6 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/4.262, allocations: 0.7869 MB / 2.522 GB, free: 214.8 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/4.262, allocations: 257.9 kB / 2.522 GB, free: 214.6 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.283e-05/4.262, allocations: 30.8 kB / 2.522 GB, free: 214.5 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004794/4.263, allocations: 377.9 kB / 2.522 GB, free: 214.2 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=73): time 3.206e-06/4.263, allocations: 0 / 2.522 GB, free: 214.2 MB / 0.6825 GB Notification: Performance of matching and sorting (n=73): time 0.001536/4.264, allocations: 0.6405 MB / 2.523 GB, free: 213.5 MB / 0.6825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/4.264, allocations: 247.9 kB / 2.523 GB, free: 213.2 MB / 0.6825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006106/4.265, allocations: 498.3 kB / 2.524 GB, free: 212.7 MB / 0.6825 GB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/4.265, allocations: 29.7 kB / 2.524 GB, free: 212.7 MB / 0.6825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/4.265, allocations: 335.8 kB / 2.524 GB, free: 212.3 MB / 0.6825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/4.265, allocations: 228.6 kB / 2.524 GB, free: 212.1 MB / 0.6825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/4.265, allocations: 0 / 2.524 GB, free: 212.1 MB / 0.6825 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/4.265, allocations: 370.8 kB / 2.525 GB, free: 211.7 MB / 0.6825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/4.266, allocations: 193.3 kB / 2.525 GB, free: 211.6 MB / 0.6825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/4.266, allocations: 290.4 kB / 2.525 GB, free: 211.2 MB / 0.6825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/4.266, allocations: 235.1 kB / 2.525 GB, free: 211 MB / 0.6825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/4.266, allocations: 0 / 2.525 GB, free: 211 MB / 0.6825 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001386/4.268, allocations: 0.6474 MB / 2.526 GB, free: 210.4 MB / 0.6825 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/4.268, allocations: 15.88 kB / 2.526 GB, free: 210.3 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/4.268, allocations: 0 / 2.526 GB, free: 210.3 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/4.268, allocations: 80.84 kB / 2.526 GB, free: 210.3 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/4.269, allocations: 143.8 kB / 2.526 GB, free: 210.1 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/4.271, allocations: 1.466 MB / 2.528 GB, free: 208.5 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006041/4.271, allocations: 63.62 kB / 2.528 GB, free: 208.5 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/4.271, allocations: 23.98 kB / 2.528 GB, free: 208.4 MB / 0.6825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (75): * Single equations (assignments): 74 * 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.0001622/4.272, allocations: 119.7 kB / 2.528 GB, free: 208.3 MB / 0.6825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/4.272, allocations: 75.14 kB / 2.528 GB, free: 208.2 MB / 0.6825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/4.274, allocations: 0.9229 MB / 2.529 GB, free: 207.3 MB / 0.6825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/4.274, allocations: 8 kB / 2.529 GB, free: 207.3 MB / 0.6825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/4.274, allocations: 3.906 kB / 2.529 GB, free: 207.3 MB / 0.6825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/4.274, allocations: 3.984 kB / 2.529 GB, free: 207.3 MB / 0.6825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/4.276, allocations: 1.701 MB / 2.531 GB, free: 205.6 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/4.276, allocations: 4 kB / 2.531 GB, free: 205.6 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006216/4.277, allocations: 155.8 kB / 2.531 GB, free: 205.4 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005258/4.278, allocations: 80.78 kB / 2.531 GB, free: 205.4 MB / 0.6825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-05/4.278, allocations: 15.98 kB / 2.531 GB, free: 205.3 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/4.279, allocations: 1.476 MB / 2.532 GB, free: 203.7 MB / 0.6825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/4.279, allocations: 0 / 2.532 GB, free: 203.7 MB / 0.6825 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001384/4.281, allocations: 0.8244 MB / 2.533 GB, free: 202.9 MB / 0.6825 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001502/4.282, allocations: 1.231 MB / 2.534 GB, free: 201.7 MB / 0.6825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/4.282, allocations: 268 kB / 2.534 GB, free: 201.4 MB / 0.6825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/4.283, allocations: 11.91 kB / 2.534 GB, free: 201.4 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/4.283, allocations: 51.95 kB / 2.535 GB, free: 201.3 MB / 0.6825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/4.283, allocations: 56.69 kB / 2.535 GB, free: 201.3 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/4.283, allocations: 31.92 kB / 2.535 GB, free: 201.2 MB / 0.6825 GB Notification: Performance of sort global known variables: time 0.0004526/4.284, allocations: 402.9 kB / 2.535 GB, free: 200.8 MB / 0.6825 GB Notification: Performance of remove unused functions: time 0.001889/4.286, allocations: 422.9 kB / 2.535 GB, free: 200.4 MB / 0.6825 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 (85): * Single equations (assignments): 82 * 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.001903/4.288, allocations: 1.05 MB / 2.536 GB, free: 199.5 MB / 0.6825 GB Notification: Performance of simCode: created initialization part: time 0.001145/4.289, allocations: 0.6428 MB / 2.537 GB, free: 198.9 MB / 0.6825 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/4.289, allocations: 4.125 kB / 2.537 GB, free: 198.9 MB / 0.6825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006306/4.29, allocations: 448.6 kB / 2.538 GB, free: 198.4 MB / 0.6825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009962/4.291, allocations: 217.4 kB / 2.538 GB, free: 198.2 MB / 0.6825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/4.294, allocations: 1.38 MB / 2.539 GB, free: 196.8 MB / 0.6825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007681/4.295, allocations: 1.138 MB / 2.54 GB, free: 195.7 MB / 0.6825 GB Notification: Performance of SimCode: time 3.31e-07/4.295, allocations: 4 kB / 2.54 GB, free: 195.7 MB / 0.6825 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)