Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01536/0.01537, allocations: 87.36 kB / 15.04 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001779/0.001778, allocations: 168.8 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.182/2.182, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.668/2.668, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007389/0.0007389, allocations: 11.34 kB / 0.6243 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3133, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.004126/0.3175, allocations: 1.546 MB / 0.7296 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008009/0.3255, allocations: 3.035 MB / 0.7325 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.3258, allocations: 0 / 0.7325 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.3262, allocations: 39.81 kB / 0.7326 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008701/0.3271, allocations: 131.5 kB / 0.7327 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.3273, allocations: 19.97 kB / 0.7327 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.3276, allocations: 111.8 kB / 0.7328 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.3277, allocations: 29.66 kB / 0.7329 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.328, allocations: 63.7 kB / 0.7329 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.3282, allocations: 67.69 kB / 0.733 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.3282, allocations: 11.98 kB / 0.733 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.3284, allocations: 19.98 kB / 0.733 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.3284, allocations: 23.91 kB / 0.733 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.895e-05/0.3285, allocations: 53.58 kB / 0.7331 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3288, allocations: 115.7 kB / 0.7332 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3288, allocations: 0 / 0.7332 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3288, allocations: 0 / 0.7332 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3288, allocations: 0 / 0.7332 GB, free: 4.867 MB / 0.5573 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.001271/0.3301, allocations: 0.4906 MB / 0.7337 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/0.3302, allocations: 12.03 kB / 0.7337 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.067e-05/0.3303, allocations: 34.56 kB / 0.7337 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.3303, allocations: 19.72 kB / 0.7337 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.3309, allocations: 237.7 kB / 0.734 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3309, allocations: 4 kB / 0.734 GB, free: 3.973 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.331, allocations: 4 kB / 0.734 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.3316, allocations: 149.6 kB / 0.7341 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3316, allocations: 0 / 0.7341 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.3316, allocations: 3.953 kB / 0.7341 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/0.3317, allocations: 8 kB / 0.7341 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008322/0.3325, allocations: 159.8 kB / 0.7343 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.3337, allocations: 448.6 kB / 0.7347 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/0.3345, allocations: 174.4 kB / 0.7349 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.3346, allocations: 3.984 kB / 0.7349 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.3346, allocations: 30.56 kB / 0.7349 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 3.536e-06/0.3346, allocations: 3.938 kB / 0.7349 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.001534/0.3362, allocations: 309.7 kB / 0.7352 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.3363, allocations: 55.34 kB / 0.7353 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.3366, allocations: 205 kB / 0.7355 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.3366, allocations: 29.7 kB / 0.7355 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.3368, allocations: 124 kB / 0.7356 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.3369, allocations: 39.36 kB / 0.7356 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.3369, allocations: 8 kB / 0.7357 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3371, allocations: 330.8 kB / 0.736 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.3375, allocations: 75.94 kB / 0.736 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.338, allocations: 75.94 kB / 0.7361 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.3384, allocations: 87.94 kB / 0.7362 GB, free: 1.574 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.3385, allocations: 0 / 0.7362 GB, free: 1.574 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001025/0.3395, allocations: 230 kB / 0.7364 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.3396, allocations: 8 kB / 0.7364 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3396, allocations: 0 / 0.7364 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.3396, allocations: 7.984 kB / 0.7364 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.3401, allocations: 35.97 kB / 0.7365 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3401, allocations: 0 / 0.7365 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.3404, allocations: 23.92 kB / 0.7365 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.3405, allocations: 7.984 kB / 0.7365 GB, free: 1.262 MB / 0.5573 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.000207/0.3407, allocations: 129.8 kB / 0.7366 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.3408, allocations: 23.67 kB / 0.7366 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.83e-05/0.3408, allocations: 25.83 kB / 0.7367 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.3409, allocations: 4 kB / 0.7367 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3409, allocations: 4 kB / 0.7367 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3409, allocations: 0 / 0.7367 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.3413, allocations: 253.5 kB / 0.7369 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3414, allocations: 0 / 0.7369 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.3418, allocations: 35.97 kB / 0.737 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.3418, allocations: 4 kB / 0.737 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.3419, allocations: 7.938 kB / 0.737 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3419, allocations: 0 / 0.737 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3419, allocations: 0 / 0.737 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.343, allocations: 335.2 kB / 0.7373 GB, free: 384 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.3432, allocations: 108.8 kB / 0.7374 GB, free: 256 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.3433, allocations: 11.98 kB / 0.7374 GB, free: 244 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.3436, allocations: 19.88 kB / 0.7374 GB, free: 224 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.3437, allocations: 19.92 kB / 0.7374 GB, free: 204 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.3437, allocations: 0 / 0.7374 GB, free: 204 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002241/0.344, allocations: 160.5 kB / 0.7376 GB, free: 48 kB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.344, allocations: 0 / 0.7376 GB, free: 48 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003948/0.3444, allocations: 36 kB / 0.7376 GB, free: 12 kB / 0.5573 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.001632/0.346, allocations: 0.8605 MB / 0.7385 GB, free: 15.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.3471, allocations: 179.9 kB / 0.7386 GB, free: 14.95 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3471, allocations: 4 kB / 0.7386 GB, free: 14.95 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.3476, allocations: 103.9 kB / 0.7387 GB, free: 14.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.3482, allocations: 23.42 kB / 0.7388 GB, free: 14.82 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.3521, allocations: 1.262 MB / 0.74 GB, free: 13.52 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.3526, allocations: 0.7352 MB / 0.7407 GB, free: 12.76 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003546/0.353, allocations: 48.59 kB / 0.7408 GB, free: 12.71 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.3532, allocations: 51.42 kB / 0.7408 GB, free: 12.66 MB / 0.573 GB Notification: Performance of SimCode: time 1.222e-06/0.3532, allocations: 0 / 0.7408 GB, free: 12.66 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.3822, allocations: 3.349 MB / 0.7441 GB, free: 9.434 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003866/0.3826, allocations: 205.4 kB / 0.7443 GB, free: 9.195 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/2.86, allocations: 3.938 kB / 0.7443 GB, free: 9.191 MB / 0.573 GB