Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.685/1.685, allocations: 171.2 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005062, allocations: 15.98 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08314/0.0837, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3648/0.4485, allocations: 67.8 MB / 339.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.4488, allocations: 68.78 kB / 340 MB, free: 4.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01151/0.4604, allocations: 2.74 MB / 342.7 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4604, allocations: 0 / 342.7 MB, free: 2.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.4605, allocations: 4 kB / 342.7 MB, free: 2.594 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006824/0.4611, allocations: 427.4 kB / 343.2 MB, free: 2.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.4612, allocations: 8.031 kB / 343.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/0.4613, allocations: 43.55 kB / 343.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.4614, allocations: 22.75 kB / 343.2 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.4617, allocations: 202.2 kB / 343.4 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.4617, allocations: 14.44 kB / 343.4 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.4618, allocations: 11.62 kB / 343.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.4621, allocations: 113.9 kB / 343.6 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4622, allocations: 0 / 343.6 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.4622, allocations: 6.688 kB / 343.6 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4622, allocations: 4 kB / 343.6 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.4625, allocations: 92.67 kB / 343.7 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.4637, allocations: 0.5366 MB / 344.2 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.4642, allocations: 85.25 kB / 344.3 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.4642, allocations: 0 / 344.3 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.4642, allocations: 37.5 kB / 344.3 MB, free: 1.012 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 3.747e-06/0.4643, allocations: 0 / 344.3 MB, free: 1.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.001083/0.4654, allocations: 267.6 kB / 344.6 MB, free: 0.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4654, allocations: 59.36 kB / 344.6 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.4656, allocations: 135.7 kB / 344.8 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.4657, allocations: 25.7 kB / 344.8 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.4658, allocations: 126 kB / 344.9 MB, free: 412 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.4658, allocations: 22.59 kB / 345 MB, free: 392 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.4658, allocations: 0 / 345 MB, free: 392 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.466, allocations: 318.6 kB / 345.3 MB, free: 68 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.4661, allocations: 27.17 kB / 345.3 MB, free: 48 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.4662, allocations: 49.62 kB / 345.3 MB, free: 0 / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.4664, allocations: 36.52 kB / 345.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4664, allocations: 0 / 345.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004843/0.4669, allocations: 141.8 kB / 345.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.467, allocations: 4 kB / 345.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.467, allocations: 0 / 345.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002742/0.4673, allocations: 41.58 kB / 345.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.4674, allocations: 8 kB / 345.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.4695, allocations: 1.526 MB / 347.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.4697, allocations: 15.2 kB / 347.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4697, allocations: 0 / 347.1 MB, free: 14.23 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.4699, allocations: 125.1 kB / 347.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.47, allocations: 7.906 kB / 347.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.47, allocations: 11.66 kB / 347.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.47, allocations: 192 / 347.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.47, allocations: 0 / 347.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4701, allocations: 11.92 kB / 347.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.4704, allocations: 216.9 kB / 347.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4704, allocations: 0 / 347.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.4704, allocations: 4 kB / 347.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.4707, allocations: 36.2 kB / 347.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4707, allocations: 0 / 347.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.4725, allocations: 1.526 MB / 349 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4726, allocations: 3.984 kB / 349 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.4731, allocations: 220.7 kB / 349.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4732, allocations: 92 kB / 349.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.4732, allocations: 3.953 kB / 349.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.4734, allocations: 11.94 kB / 349.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.4735, allocations: 14.67 kB / 349.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.4735, allocations: 4 kB / 349.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.4736, allocations: 114.9 kB / 349.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4736, allocations: 0 / 349.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004817/0.4741, allocations: 43.84 kB / 349.5 MB, free: 11.76 MB / 282.7 MB 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 (2): * Single equations (assignments): 1 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008232/0.475, allocations: 0.751 MB / 350.3 MB, free: 11.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000567/0.4755, allocations: 186.8 kB / 350.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4756, allocations: 4.125 kB / 350.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.4759, allocations: 160.4 kB / 350.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.4762, allocations: 14.5 kB / 350.6 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.4781, allocations: 1.088 MB / 351.7 MB, free: 9.586 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.4785, allocations: 0.716 MB / 352.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.478e-05/0.4786, allocations: 4.422 kB / 352.5 MB, free: 8.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.4787, allocations: 36.36 kB / 352.5 MB, free: 8.824 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4787, allocations: 0 / 352.5 MB, free: 8.824 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.5054, allocations: 2.607 MB / 355.1 MB, free: 6.281 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003769/0.5058, allocations: 214.7 kB / 355.3 MB, free: 6.035 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/2.92, allocations: 0 / 355.3 MB, free: 6.035 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat