Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",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.01222/0.01223, allocations: 222.8 kB / 15.17 MB, free: 5.922 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.001122/0.001122, allocations: 177.2 kB / 16.06 MB, free: 5.832 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.828/3.828, allocations: 389.1 MB / 405.9 MB, free: 13.36 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.398/4.398, allocations: 472.3 MB / 0.9017 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004941, allocations: 11.94 kB / 1.008 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6893/0.6898, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005446/0.6953, allocations: 3.348 MB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003496/0.6989, allocations: 1.594 MB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003187/0.6992, allocations: 5.844 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.6995, allocations: 55.05 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006996/0.7002, allocations: 186.2 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007179/0.7009, allocations: 147.8 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008538/0.7018, allocations: 0.5378 MB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005252/0.7024, allocations: 289.4 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.7027, allocations: 151.2 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005078/0.7032, allocations: 198.2 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.7033, allocations: 14.91 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.7038, allocations: 119.4 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.7039, allocations: 110.3 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.704, allocations: 80.42 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000614/0.7047, allocations: 374.3 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.7047, allocations: 5.094 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7047, allocations: 0 / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.7047, allocations: 0 / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001179/0.7059, allocations: 0.5901 MB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.706, allocations: 10.72 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.662e-05/0.7061, allocations: 66.09 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.7075, allocations: 149.8 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.7081, allocations: 282.3 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.7081, allocations: 20.47 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.7082, allocations: 28.36 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000987/0.7092, allocations: 456.1 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.7093, allocations: 5 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/0.7093, allocations: 22.16 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-05/0.7094, allocations: 32.95 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008098/0.7102, allocations: 315.6 kB / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.7131, allocations: 2.184 MB / 1.115 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.7137, allocations: 253.2 kB / 1.115 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.7141, allocations: 111.3 kB / 1.115 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.7142, allocations: 5.188 kB / 1.116 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.7142, allocations: 31.66 kB / 1.116 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 3.396e-06/0.7142, allocations: 0 / 1.116 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0008823/0.7151, allocations: 307.4 kB / 1.116 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.7152, allocations: 52.91 kB / 1.116 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.7156, allocations: 270.3 kB / 1.116 GB, free: 205 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.7156, allocations: 31.08 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.7158, allocations: 204.8 kB / 1.116 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.7158, allocations: 58.56 kB / 1.116 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.7158, allocations: 5.062 kB / 1.116 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.7159, allocations: 333.7 kB / 1.117 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.7161, allocations: 54.95 kB / 1.117 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.7163, allocations: 149.5 kB / 1.117 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.7165, allocations: 76.28 kB / 1.117 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7165, allocations: 1.156 kB / 1.117 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006643/0.7172, allocations: 267.7 kB / 1.117 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.7172, allocations: 7.062 kB / 1.117 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.7173, allocations: 3 kB / 1.117 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.7175, allocations: 26.3 kB / 1.117 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.7179, allocations: 51.47 kB / 1.117 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.719, allocations: 1.319 MB / 1.119 GB, free: 202.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.7194, allocations: 32.95 kB / 1.119 GB, free: 202.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.7194, allocations: 7.75 kB / 1.119 GB, free: 202.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002534/0.7197, allocations: 169.7 kB / 1.119 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.7198, allocations: 30.62 kB / 1.119 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.7198, allocations: 28.2 kB / 1.119 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.7198, allocations: 1.625 kB / 1.119 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.7199, allocations: 0.7031 kB / 1.119 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7199, allocations: 5.125 kB / 1.119 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.7213, allocations: 0.7038 MB / 1.12 GB, free: 202 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.7214, allocations: 1.125 kB / 1.12 GB, free: 202 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.7216, allocations: 20.64 kB / 1.12 GB, free: 202 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/0.7218, allocations: 26.52 kB / 1.12 GB, free: 202 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.7218, allocations: 6.406 kB / 1.12 GB, free: 202 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.7229, allocations: 1.314 MB / 1.121 GB, free: 200.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.7229, allocations: 9.578 kB / 1.121 GB, free: 200.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.7235, allocations: 311.2 kB / 1.121 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.7237, allocations: 118.5 kB / 1.121 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.7238, allocations: 5.156 kB / 1.121 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.7241, allocations: 22.48 kB / 1.121 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.7241, allocations: 16.05 kB / 1.121 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.7242, allocations: 9.719 kB / 1.121 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002893/0.7245, allocations: 188.3 kB / 1.122 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7245, allocations: 1.094 kB / 1.122 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006531/0.7251, allocations: 75.53 kB / 1.122 GB, free: 200.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007644/0.7259, allocations: 0.8595 MB / 1.122 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006736/0.7266, allocations: 263.2 kB / 1.123 GB, free: 199.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7266, allocations: 3.188 kB / 1.123 GB, free: 199.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.7269, allocations: 185 kB / 1.123 GB, free: 199.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000743/0.7277, allocations: 59.19 kB / 1.123 GB, free: 199.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.7309, allocations: 1.527 MB / 1.124 GB, free: 198.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.7313, allocations: 0.8012 MB / 1.125 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003032/0.7316, allocations: 43.52 kB / 1.125 GB, free: 197.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.7318, allocations: 87.27 kB / 1.125 GB, free: 197.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/0.7318, allocations: 4.594 kB / 1.125 GB, free: 197.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03771/0.7695, allocations: 4.903 MB / 1.13 GB, free: 197.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/0.7699, allocations: 204.3 kB / 1.13 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.314, allocations: 3.938 kB / 1.13 GB, free: 197.1 MB / 0.7292 GB