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.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01279/0.01279, allocations: 220.3 kB / 15.17 MB, free: 5.996 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.001188/0.001188, allocations: 178.9 kB / 16.06 MB, free: 5.875 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.814/3.814, allocations: 389.1 MB / 405.9 MB, free: 13.33 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.126/4.126, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004867, allocations: 16 kB / 1.008 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6017/0.6022, allocations: 98.7 MB / 1.104 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002247/0.6045, allocations: 1.556 MB / 1.106 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004403/0.609, allocations: 3.211 MB / 1.109 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.6091, allocations: 5.312 kB / 1.109 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.6094, allocations: 39.81 kB / 1.109 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000488/0.6099, allocations: 104.6 kB / 1.109 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 8.033e-05/0.61, allocations: 24.98 kB / 1.109 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.6102, allocations: 160.1 kB / 1.109 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.6104, allocations: 33.38 kB / 1.109 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.6106, allocations: 67.7 kB / 1.109 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.6108, allocations: 79.55 kB / 1.109 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.6108, allocations: 4 kB / 1.109 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.6109, allocations: 37.34 kB / 1.109 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.611, allocations: 27.84 kB / 1.109 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.6111, allocations: 49.64 kB / 1.109 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.6113, allocations: 116.6 kB / 1.109 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6113, allocations: 4 kB / 1.109 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6113, allocations: 0 / 1.109 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.6113, allocations: 0.5312 kB / 1.109 GB, free: 5.207 MB / 0.5105 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.0009989/0.6123, allocations: 498 kB / 1.11 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.6124, allocations: 16.62 kB / 1.11 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.6124, allocations: 35.7 kB / 1.11 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.6125, allocations: 19.72 kB / 1.11 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.6129, allocations: 246.3 kB / 1.11 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.6129, allocations: 0 / 1.11 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.613, allocations: 4.594 kB / 1.11 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.6135, allocations: 144.3 kB / 1.11 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.6135, allocations: 0 / 1.11 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.6135, allocations: 4.484 kB / 1.11 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.6136, allocations: 12.55 kB / 1.11 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.6143, allocations: 156.1 kB / 1.111 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.6152, allocations: 440.2 kB / 1.111 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.6159, allocations: 174.4 kB / 1.111 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.6163, allocations: 112.8 kB / 1.111 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.6164, allocations: 7.984 kB / 1.111 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.6164, allocations: 34.5 kB / 1.111 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.6164, allocations: 0 / 1.111 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.001449/0.6179, allocations: 313.6 kB / 1.112 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.6179, allocations: 51.41 kB / 1.112 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.6182, allocations: 209 kB / 1.112 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.6182, allocations: 25.7 kB / 1.112 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.6183, allocations: 124 kB / 1.112 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.6183, allocations: 39.38 kB / 1.112 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.6184, allocations: 0 / 1.112 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.6184, allocations: 334.8 kB / 1.112 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.6188, allocations: 79.94 kB / 1.112 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.6192, allocations: 80.38 kB / 1.113 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.6196, allocations: 88.19 kB / 1.113 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6197, allocations: 3.938 kB / 1.113 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000889/0.6206, allocations: 229.3 kB / 1.113 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6206, allocations: 8 kB / 1.113 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.6206, allocations: 4 kB / 1.113 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.6206, allocations: 7.922 kB / 1.113 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.6211, allocations: 35.97 kB / 1.113 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6211, allocations: 0 / 1.113 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.6214, allocations: 19.89 kB / 1.113 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.6214, allocations: 15.92 kB / 1.113 GB, free: 1.5 MB / 0.5105 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.0001205/0.6215, allocations: 129.8 kB / 1.113 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.6216, allocations: 23.75 kB / 1.113 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.6217, allocations: 21.84 kB / 1.113 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6217, allocations: 4 kB / 1.113 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.6217, allocations: 0 / 1.113 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.6217, allocations: 0 / 1.113 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.622, allocations: 257.4 kB / 1.113 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6221, allocations: 0 / 1.113 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.6225, allocations: 43.95 kB / 1.113 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.6225, allocations: 4 kB / 1.113 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.6225, allocations: 7.953 kB / 1.113 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.6225, allocations: 0 / 1.113 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6226, allocations: 3.938 kB / 1.113 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009064/0.6235, allocations: 315.2 kB / 1.114 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.6236, allocations: 108.9 kB / 1.114 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.6237, allocations: 8 kB / 1.114 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.624, allocations: 15.94 kB / 1.114 GB, free: 496 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.6241, allocations: 15.98 kB / 1.114 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.6241, allocations: 3.984 kB / 1.114 GB, free: 476 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001391/0.6242, allocations: 152.5 kB / 1.114 GB, free: 324 kB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6242, allocations: 0 / 1.114 GB, free: 324 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003854/0.6246, allocations: 47.84 kB / 1.114 GB, free: 276 kB / 0.5105 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.001306/0.626, allocations: 0.8645 MB / 1.115 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009319/0.6269, allocations: 183.8 kB / 1.115 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6269, allocations: 0 / 1.115 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.6274, allocations: 100.5 kB / 1.115 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.6279, allocations: 35.55 kB / 1.115 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/0.6314, allocations: 1.285 MB / 1.116 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.6317, allocations: 0.743 MB / 1.117 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000304/0.632, allocations: 48.55 kB / 1.117 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.6322, allocations: 51.41 kB / 1.117 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/0.6322, allocations: 0 / 1.117 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.6614, allocations: 3.489 MB / 1.121 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003233/0.6618, allocations: 213.8 kB / 1.121 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/2.979, allocations: 0 / 1.121 GB, free: 9.281 MB / 0.5261 GB