Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.Examples.Window.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: translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01016/0.01016, allocations: 222 kB / 15.17 MB, free: 6 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.001066/0.001066, allocations: 174.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.164/3.164, allocations: 389.1 MB / 405.9 MB, free: 67.64 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.846/3.846, allocations: 472.3 MB / 0.9018 GB, free: 87.47 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 16.69 kB / 1.008 GB, free: 37.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1508, allocations: 98.73 MB / 1.104 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.0158/0.1667, allocations: 11.24 MB / 1.115 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.6544/0.8211, allocations: 144.7 MB / 1.256 GB, free: 404 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.8235, allocations: 61.59 kB / 1.256 GB, free: 380 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005807/0.8293, allocations: 1.896 MB / 1.258 GB, free: 32 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004903/0.8342, allocations: 1.469 MB / 1.26 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005421/0.8396, allocations: 1.669 MB / 1.261 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009112/0.8488, allocations: 7.002 MB / 1.268 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002864/0.8517, allocations: 1.632 MB / 1.27 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/0.8554, allocations: 1.98 MB / 1.272 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/0.8584, allocations: 2.058 MB / 1.274 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004848/0.8589, allocations: 157.9 kB / 1.274 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004734/0.8636, allocations: 2.117 MB / 1.276 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003103/0.8668, allocations: 2.99 MB / 1.279 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.8681, allocations: 0.785 MB / 1.28 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008804/0.8769, allocations: 6.119 MB / 1.286 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.224e-06/0.877, allocations: 0 / 1.286 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.184e-06/0.877, allocations: 0 / 1.286 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.994e-05/0.8771, allocations: 0 / 1.286 GB, free: 8.922 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.0101/0.8872, allocations: 4.672 MB / 1.29 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.8872, allocations: 8.812 kB / 1.29 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03348/0.9207, allocations: 4.532 MB / 1.295 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03909/0.9599, allocations: 11.56 MB / 1.306 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.9601, allocations: 214.9 kB / 1.306 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009519/0.9611, allocations: 294.9 kB / 1.306 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.9734, allocations: 4.389 MB / 1.311 GB, free: 112 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-05/0.9735, allocations: 9.859 kB / 1.311 GB, free: 104 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004118/0.974, allocations: 106.8 kB / 1.311 GB, free: 104 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.974, allocations: 64.55 kB / 1.311 GB, free: 100 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/0.9864, allocations: 4.069 MB / 1.315 GB, free: 13.44 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0331/1.02, allocations: 19.47 MB / 1.334 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/1.032, allocations: 3.8 MB / 1.338 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008591/1.04, allocations: 2.681 MB / 1.34 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/1.042, allocations: 0.8566 MB / 1.341 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009282/1.051, allocations: 2.922 MB / 1.344 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=201): time 6.041e-06/1.051, allocations: 4 kB / 1.344 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of matching and sorting (n=201): time 0.05927/1.11, allocations: 13.48 MB / 1.357 GB, free: 11.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003228/1.111, allocations: 346 kB / 1.357 GB, free: 10.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02186/1.133, allocations: 12.77 MB / 1.37 GB, free: 1.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008312/1.133, allocations: 83.05 kB / 1.37 GB, free: 1.113 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001865/1.135, allocations: 1.603 MB / 1.371 GB, free: 244 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009549/1.136, allocations: 0.6714 MB / 1.372 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004966/1.137, allocations: 61.19 kB / 1.372 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002955/1.137, allocations: 436.8 kB / 1.373 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01998/1.157, allocations: 9.476 MB / 1.382 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02076/1.178, allocations: 9.946 MB / 1.392 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02097/1.199, allocations: 9.547 MB / 1.401 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.045e-05/1.199, allocations: 4 kB / 1.401 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.05302/1.252, allocations: 21.81 MB / 1.422 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005392/1.253, allocations: 0.5196 MB / 1.423 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04132/1.294, allocations: 13.17 MB / 1.436 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.105/1.399, allocations: 10.88 MB / 1.446 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00731/1.406, allocations: 0.8959 MB / 1.447 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/1.422, allocations: 7.885 MB / 1.455 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007576/1.43, allocations: 0.6812 MB / 1.455 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007302/1.431, allocations: 186.8 kB / 1.456 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.431, allocations: 4 kB / 1.456 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04927/1.48, allocations: 20.93 MB / 1.476 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06663/1.547, allocations: 12.7 MB / 1.488 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/1.557, allocations: 1.169 MB / 1.49 GB, free: 11.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01803/1.575, allocations: 1.005 MB / 1.491 GB, free: 10.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02159/1.597, allocations: 11.68 MB / 1.502 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007322/1.604, allocations: 0.6237 MB / 1.503 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000763/1.605, allocations: 193.9 kB / 1.503 GB, free: 13.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (309): * Single equations (assignments): 302 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00399/1.609, allocations: 1.977 MB / 1.505 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008552/1.61, allocations: 339.6 kB / 1.505 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0302/1.64, allocations: 8.142 MB / 1.513 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-05/1.64, allocations: 20 kB / 1.513 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.64, allocations: 3.953 kB / 1.513 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-05/1.64, allocations: 7.969 kB / 1.513 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0379/1.678, allocations: 12.87 MB / 1.526 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04819/1.726, allocations: 7.91 MB / 1.533 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003748/1.73, allocations: 433.4 kB / 1.534 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5755/2.306, allocations: 15.67 MB / 1.549 GB, free: 337.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005928/2.306, allocations: 82.5 kB / 1.549 GB, free: 337.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/2.321, allocations: 7.902 MB / 1.557 GB, free: 332.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.072e-06/2.321, allocations: 0.6094 kB / 1.557 GB, free: 332.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05108/2.372, allocations: 8.43 MB / 1.565 GB, free: 332.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003031/2.375, allocations: 1.057 MB / 1.566 GB, free: 332.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006878/2.376, allocations: 37.22 kB / 1.566 GB, free: 332.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005339/2.381, allocations: 361.8 kB / 1.566 GB, free: 332.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004328/2.382, allocations: 132.9 kB / 1.567 GB, free: 332.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004193/2.382, allocations: 111.1 kB / 1.567 GB, free: 332.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01029/2.392, allocations: 8.076 MB / 1.575 GB, free: 331.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.237e-06/2.392, allocations: 0 / 1.575 GB, free: 331.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008082/2.4, allocations: 2.551 MB / 1.577 GB, free: 331 MB / 0.8698 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 (130): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00332/2.404, allocations: 1.033 MB / 1.578 GB, free: 330.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.05057/2.454, allocations: 26.12 MB / 1.604 GB, free: 314.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.207e-06/2.454, allocations: 4 kB / 1.604 GB, free: 314.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01025/2.465, allocations: 3.78 MB / 1.607 GB, free: 311.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/2.469, allocations: 0.6581 MB / 1.608 GB, free: 310.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/2.497, allocations: 17.35 MB / 1.625 GB, free: 293.2 MB / 0.8698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]