Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01262/0.01262, allocations: 220.3 kB / 15.17 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001246/0.001245, allocations: 180.3 kB / 16.06 MB, free: 5.871 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.887/3.887, allocations: 389.1 MB / 405.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.265/4.265, allocations: 472.3 MB / 0.9018 GB, free: 92 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.000524, allocations: 16 kB / 1.008 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.7046, allocations: 98.71 MB / 1.104 GB, free: 206.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002602/0.7073, allocations: 1.568 MB / 1.106 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00569/0.713, allocations: 3.206 MB / 1.109 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.7133, allocations: 0 / 1.109 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.7136, allocations: 37.92 kB / 1.109 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.7142, allocations: 121.4 kB / 1.109 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.7144, allocations: 25.48 kB / 1.109 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.7147, allocations: 170 kB / 1.109 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.7149, allocations: 28.97 kB / 1.109 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.7152, allocations: 69.48 kB / 1.109 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.7155, allocations: 83.56 kB / 1.109 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.7155, allocations: 5.438 kB / 1.109 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.7157, allocations: 27.27 kB / 1.109 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.7158, allocations: 31.05 kB / 1.109 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.7159, allocations: 52.95 kB / 1.109 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.7162, allocations: 117.1 kB / 1.11 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.7162, allocations: 1.312 kB / 1.11 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7162, allocations: 0 / 1.11 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.7162, allocations: 1.781 kB / 1.11 GB, free: 202.6 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001362/0.7176, allocations: 0.5016 MB / 1.11 GB, free: 202.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.7177, allocations: 9.562 kB / 1.11 GB, free: 202.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.094e-05/0.7178, allocations: 39.97 kB / 1.11 GB, free: 202.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.7178, allocations: 22.75 kB / 1.11 GB, free: 202.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.7184, allocations: 240.2 kB / 1.11 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.7184, allocations: 1.875 kB / 1.11 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.7184, allocations: 3.344 kB / 1.11 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.7191, allocations: 150.5 kB / 1.11 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.7191, allocations: 0 / 1.11 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.7192, allocations: 7.953 kB / 1.11 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.7192, allocations: 10.09 kB / 1.11 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008368/0.7201, allocations: 165.2 kB / 1.111 GB, free: 201.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.7213, allocations: 457.6 kB / 1.111 GB, free: 201.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.7221, allocations: 181.7 kB / 1.111 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.7227, allocations: 112.8 kB / 1.111 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.7227, allocations: 9.047 kB / 1.111 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.7228, allocations: 38.22 kB / 1.111 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 3.096e-06/0.7228, allocations: 0 / 1.111 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.001548/0.7243, allocations: 320.5 kB / 1.112 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.7244, allocations: 52.88 kB / 1.112 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.7248, allocations: 212.2 kB / 1.112 GB, free: 201 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.7248, allocations: 30.33 kB / 1.112 GB, free: 200.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.7249, allocations: 120.7 kB / 1.112 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.725, allocations: 40.75 kB / 1.112 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.725, allocations: 5.312 kB / 1.112 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.7251, allocations: 332.7 kB / 1.112 GB, free: 200.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.7256, allocations: 84.7 kB / 1.113 GB, free: 200.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.726, allocations: 84.22 kB / 1.113 GB, free: 200.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.7265, allocations: 94.98 kB / 1.113 GB, free: 200.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7265, allocations: 0 / 1.113 GB, free: 200.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001037/0.7275, allocations: 233.4 kB / 1.113 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.7276, allocations: 5.422 kB / 1.113 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.7276, allocations: 0 / 1.113 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.7277, allocations: 4.812 kB / 1.113 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.7281, allocations: 39.84 kB / 1.113 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.7282, allocations: 1.359 kB / 1.113 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.7285, allocations: 31.45 kB / 1.113 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.7286, allocations: 4.516 kB / 1.113 GB, free: 200.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.7288, allocations: 128.1 kB / 1.113 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.7289, allocations: 21.91 kB / 1.113 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.452e-05/0.729, allocations: 29.02 kB / 1.113 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.729, allocations: 5.531 kB / 1.113 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.729, allocations: 0 / 1.113 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.729, allocations: 0.5625 kB / 1.113 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.7294, allocations: 263.2 kB / 1.113 GB, free: 199.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.7294, allocations: 0 / 1.113 GB, free: 199.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.7299, allocations: 37.16 kB / 1.113 GB, free: 199.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.7299, allocations: 1.875 kB / 1.113 GB, free: 199.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.73, allocations: 12.8 kB / 1.113 GB, free: 199.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.73, allocations: 1.375 kB / 1.113 GB, free: 199.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.73, allocations: 0 / 1.113 GB, free: 199.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.731, allocations: 328.9 kB / 1.114 GB, free: 199.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.7312, allocations: 118.7 kB / 1.114 GB, free: 199.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.7313, allocations: 0 / 1.114 GB, free: 199.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.7317, allocations: 24.5 kB / 1.114 GB, free: 199.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.7318, allocations: 16.56 kB / 1.114 GB, free: 199.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.7318, allocations: 4.578 kB / 1.114 GB, free: 199.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002037/0.732, allocations: 158.4 kB / 1.114 GB, free: 199.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/0.732, allocations: 0 / 1.114 GB, free: 199.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004257/0.7325, allocations: 37.48 kB / 1.114 GB, free: 199.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001452/0.7339, allocations: 0.8786 MB / 1.115 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009861/0.735, allocations: 195.2 kB / 1.115 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.735, allocations: 0 / 1.115 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.7355, allocations: 102.9 kB / 1.115 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.7361, allocations: 27.77 kB / 1.115 GB, free: 198.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.74, allocations: 1.33 MB / 1.117 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.7403, allocations: 0.7417 MB / 1.117 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003786/0.7407, allocations: 53.39 kB / 1.117 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.7409, allocations: 48.53 kB / 1.117 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.613e-06/0.7409, allocations: 1.25 kB / 1.117 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.7713, allocations: 3.635 MB / 1.121 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.7715, allocations: 211.8 kB / 1.121 GB, free: 197 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.388, allocations: 0 / 1.121 GB, free: 197 MB / 0.7136 GB