Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.0109/0.0109, allocations: 109 kB / 15.06 MB, free: 5.555 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.001152/0.001153, allocations: 179.6 kB / 15.95 MB, free: 5.52 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 2.028/2.028, allocations: 194.6 MB / 211.3 MB, free: 10.97 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.425/2.425, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004953, allocations: 12 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7875/0.788, allocations: 98.71 MB / 0.6834 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006507/0.7946, allocations: 4.065 MB / 0.6874 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2711/1.066, allocations: 127.6 MB / 0.812 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/1.067, allocations: 15.94 kB / 0.812 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007536/1.068, allocations: 83.25 kB / 0.8121 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002814/1.071, allocations: 0.5024 MB / 0.8126 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/1.074, allocations: 0.6664 MB / 0.8132 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003835/1.078, allocations: 0.9383 MB / 0.8141 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/1.08, allocations: 0.8584 MB / 0.815 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/1.081, allocations: 462 kB / 0.8154 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/1.082, allocations: 445.5 kB / 0.8158 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000287/1.083, allocations: 32 kB / 0.8159 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/1.084, allocations: 287.6 kB / 0.8162 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004077/1.084, allocations: 227 kB / 0.8164 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004578/1.085, allocations: 260.9 kB / 0.8166 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00329/1.088, allocations: 1.63 MB / 0.8182 GB, free: 4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.088, allocations: 0 / 0.8182 GB, free: 4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.785e-06/1.088, allocations: 0 / 0.8182 GB, free: 4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.545e-05/1.088, allocations: 0 / 0.8182 GB, free: 4 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.004769/1.093, allocations: 1.513 MB / 0.8197 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.093, allocations: 8.031 kB / 0.8197 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006887/1.094, allocations: 211.1 kB / 0.8199 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003677/1.098, allocations: 369.7 kB / 0.8202 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/1.1, allocations: 0.8213 MB / 0.821 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/1.1, allocations: 136.5 kB / 0.8212 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000413/1.101, allocations: 136 kB / 0.8213 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005101/1.106, allocations: 1.469 MB / 0.8227 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/1.106, allocations: 0 / 0.8227 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/1.106, allocations: 56 kB / 0.8228 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/1.106, allocations: 40 kB / 0.8228 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005976/1.112, allocations: 1.587 MB / 0.8244 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/1.124, allocations: 3.838 MB / 0.8281 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/1.128, allocations: 1.044 MB / 0.8292 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/1.129, allocations: 478.5 kB / 0.8296 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00235/1.132, allocations: 0.6273 MB / 0.8302 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=93): time 3.687e-06/1.132, allocations: 0 / 0.8302 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=93): time 0.007625/1.139, allocations: 1.525 MB / 0.8317 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.14, allocations: 163.2 kB / 0.8319 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/1.141, allocations: 0.6922 MB / 0.8325 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002464/1.141, allocations: 45.64 kB / 0.8326 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006342/1.142, allocations: 0.5503 MB / 0.8331 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005201/1.143, allocations: 311.5 kB / 0.8334 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/1.143, allocations: 16 kB / 0.8334 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000249/1.143, allocations: 386.8 kB / 0.8338 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/1.145, allocations: 377.8 kB / 0.8342 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/1.146, allocations: 478.5 kB / 0.8346 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/1.148, allocations: 486.2 kB / 0.8351 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/1.148, allocations: 0 / 0.8351 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.005246/1.154, allocations: 1.207 MB / 0.8363 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/1.154, allocations: 60.97 kB / 0.8363 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.154, allocations: 3.984 kB / 0.8363 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009991/1.155, allocations: 92.8 kB / 0.8364 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/1.157, allocations: 207.7 kB / 0.8366 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/1.16, allocations: 1.539 MB / 0.8381 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/1.162, allocations: 120.6 kB / 0.8382 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/1.162, allocations: 39.97 kB / 0.8383 GB, free: 14.77 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 2 * 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.0009923/1.163, allocations: 319.3 kB / 0.8386 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/1.164, allocations: 90.88 kB / 0.8387 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006261/1.17, allocations: 1.399 MB / 0.84 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/1.17, allocations: 12 kB / 0.84 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.17, allocations: 0 / 0.84 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/1.17, allocations: 11.92 kB / 0.84 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008446/1.178, allocations: 2.595 MB / 0.8426 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.178, allocations: 0 / 0.8426 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/1.18, allocations: 195.8 kB / 0.8428 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000922/1.181, allocations: 88.75 kB / 0.8429 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/1.182, allocations: 27.98 kB / 0.8429 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003617/1.185, allocations: 1.571 MB / 0.8444 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.185, allocations: 0 / 0.8444 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/1.191, allocations: 1.191 MB / 0.8456 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.192, allocations: 355.4 kB / 0.8459 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/1.192, allocations: 27.95 kB / 0.8459 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/1.194, allocations: 83.92 kB / 0.846 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/1.194, allocations: 68.91 kB / 0.8461 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/1.194, allocations: 43.97 kB / 0.8461 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001263/1.196, allocations: 0.5146 MB / 0.8466 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.037e-06/1.196, allocations: 0 / 0.8466 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001834/1.197, allocations: 406.5 kB / 0.847 GB, free: 5.531 MB / 0.6667 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * 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.007339/1.205, allocations: 2.266 MB / 0.8492 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004516/1.209, allocations: 1.15 MB / 0.8504 GB, free: 2.238 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.209, allocations: 4 kB / 0.8504 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002435/1.212, allocations: 0.6213 MB / 0.851 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/1.214, allocations: 193 kB / 0.8512 GB, free: 1.414 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.225, allocations: 4.083 MB / 0.8551 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/1.226, allocations: 1.172 MB / 0.8563 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002169/1.228, allocations: 295 kB / 0.8566 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/1.23, allocations: 0.5031 MB / 0.8571 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of SimCode: time 1.443e-06/1.23, allocations: 4 kB / 0.8571 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1569/1.387, allocations: 23.91 MB / 0.8804 GB, free: 3.625 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004553/1.387, allocations: 320.5 kB / 0.8807 GB, free: 3.266 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.908/5.295, allocations: 0 / 0.8807 GB, free: 3.266 MB / 0.698 GB