Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.604/1.604, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 16 kB / 233.3 MB, free: 2.922 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.0801, allocations: 38.77 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/0.4158, allocations: 67.81 MB / 339.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4161, allocations: 68.41 kB / 340 MB, free: 5.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01463/0.4308, allocations: 2.739 MB / 342.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4308, allocations: 0 / 342.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.4309, allocations: 4 kB / 342.7 MB, free: 3.27 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.0008889/0.4318, allocations: 433.1 kB / 343.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4318, allocations: 8.031 kB / 343.2 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.874e-05/0.4319, allocations: 41.31 kB / 343.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.4321, allocations: 19.81 kB / 343.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.4324, allocations: 202.1 kB / 343.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.4325, allocations: 15.44 kB / 343.4 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.4325, allocations: 11.62 kB / 343.4 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.433, allocations: 113.7 kB / 343.6 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4331, allocations: 0 / 343.6 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.4331, allocations: 3.188 kB / 343.6 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4331, allocations: 4 kB / 343.6 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/0.4335, allocations: 91.28 kB / 343.6 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.435, allocations: 0.5347 MB / 344.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.4356, allocations: 93.91 kB / 344.3 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4356, allocations: 3.938 kB / 344.3 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4357, allocations: 30.56 kB / 344.3 MB, free: 1.684 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 5.32e-06/0.4357, allocations: 8 kB / 344.3 MB, free: 1.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.001328/0.4371, allocations: 259 kB / 344.6 MB, free: 1.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.4371, allocations: 59.36 kB / 344.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.4374, allocations: 139.3 kB / 344.8 MB, free: 1.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.4374, allocations: 25.7 kB / 344.8 MB, free: 1.188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.4376, allocations: 188.5 kB / 345 MB, free: 1.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.4376, allocations: 15.66 kB / 345 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.4376, allocations: 3.812 kB / 345 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4378, allocations: 318.8 kB / 345.3 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.438, allocations: 23.25 kB / 345.3 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.4381, allocations: 43.56 kB / 345.4 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.4383, allocations: 27.73 kB / 345.4 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4383, allocations: 0 / 345.4 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006238/0.439, allocations: 145.2 kB / 345.5 MB, free: 484 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.439, allocations: 8 kB / 345.5 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.439, allocations: 0 / 345.5 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/0.4394, allocations: 32.47 kB / 345.6 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.4395, allocations: 11.98 kB / 345.6 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/0.4424, allocations: 1.53 MB / 347.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.4427, allocations: 10.94 kB / 347.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.4427, allocations: 4 kB / 347.1 MB, free: 14.85 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.0002077/0.443, allocations: 127.5 kB / 347.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.443, allocations: 7.906 kB / 347.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.4431, allocations: 9.469 kB / 347.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.4431, allocations: 4 kB / 347.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4431, allocations: 4 kB / 347.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4432, allocations: 0 / 347.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.4437, allocations: 217.9 kB / 347.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4437, allocations: 0 / 347.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.557e-05/0.4438, allocations: 7.984 kB / 347.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003092/0.4441, allocations: 44.06 kB / 347.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4442, allocations: 128 / 347.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.4468, allocations: 1.516 MB / 349.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4469, allocations: 0 / 349.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.4476, allocations: 225.5 kB / 349.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.4478, allocations: 88.58 kB / 349.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.4479, allocations: 7.938 kB / 349.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.4481, allocations: 11.94 kB / 349.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.4482, allocations: 11.61 kB / 349.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.4483, allocations: 3.938 kB / 349.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.4485, allocations: 113.2 kB / 349.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4485, allocations: 0 / 349.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009141/0.4494, allocations: 41.53 kB / 349.6 MB, free: 12.39 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.001211/0.4506, allocations: 0.7557 MB / 350.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007548/0.4514, allocations: 188.2 kB / 350.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.4515, allocations: 0 / 350.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.4519, allocations: 168.3 kB / 350.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.4524, allocations: 13.95 kB / 350.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.4552, allocations: 1.123 MB / 351.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.4557, allocations: 0.716 MB / 352.5 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.4558, allocations: 32.8 kB / 352.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of SimCode: time 1.133e-06/0.4558, allocations: 0 / 352.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.432/2.888, allocations: 2.455 MB / 355 MB, free: 6.977 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat