Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.273/2.273, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 12 kB / 264.1 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3072, allocations: 44.5 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4452, allocations: 72.98 MB / 381.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.4456, allocations: 75.95 kB / 381.6 MB, free: 3.391 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.4603, allocations: 2.71 MB / 384.3 MB, free: 0.668 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4603, allocations: 3.938 kB / 384.3 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.4603, allocations: 4 kB / 384.3 MB, free: 0.6602 MB / 314.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.0008289/0.4612, allocations: 429.4 kB / 384.8 MB, free: 196 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.4613, allocations: 8.031 kB / 384.8 MB, free: 188 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.135e-05/0.4614, allocations: 50.48 kB / 384.8 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.4615, allocations: 15.81 kB / 384.8 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.4619, allocations: 206.8 kB / 385 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.4619, allocations: 8.234 kB / 385 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.462, allocations: 12 kB / 385.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.4625, allocations: 131.4 kB / 385.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4625, allocations: 0 / 385.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.4625, allocations: 0 / 385.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4625, allocations: 4 kB / 385.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.463, allocations: 76.67 kB / 385.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.4644, allocations: 0.5421 MB / 385.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.4649, allocations: 78.62 kB / 385.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.465, allocations: 8 kB / 385.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.465, allocations: 34.69 kB / 385.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.465, allocations: 0 / 385.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.001373/0.4664, allocations: 267.4 kB / 386.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.4665, allocations: 51.41 kB / 386.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.4667, allocations: 130.7 kB / 386.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4668, allocations: 25.7 kB / 386.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4669, allocations: 127.9 kB / 386.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.467, allocations: 27.73 kB / 386.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.467, allocations: 0 / 386.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4671, allocations: 318.8 kB / 386.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.4673, allocations: 23.92 kB / 386.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.4675, allocations: 46.56 kB / 386.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.4677, allocations: 31.98 kB / 386.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4677, allocations: 3.938 kB / 387 MB, free: 13.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006277/0.4684, allocations: 138.3 kB / 387.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.4684, allocations: 11.92 kB / 387.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4684, allocations: 4 kB / 387.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/0.4688, allocations: 36.91 kB / 387.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.4689, allocations: 12.17 kB / 387.2 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.4716, allocations: 1.528 MB / 388.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.4718, allocations: 7.938 kB / 388.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.4718, allocations: 4 kB / 388.7 MB, free: 11.9 MB / 330.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.0001921/0.472, allocations: 125.9 kB / 388.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.4721, allocations: 7.906 kB / 388.8 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.4722, allocations: 12.72 kB / 388.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4722, allocations: 0 / 388.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4722, allocations: 4.328 kB / 388.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4722, allocations: 0 / 388.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.4727, allocations: 213.6 kB / 389 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4727, allocations: 4 kB / 389.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.4728, allocations: 11.92 kB / 389.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.4731, allocations: 32.84 kB / 389.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.4731, allocations: 4 kB / 389.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.4754, allocations: 1.514 MB / 390.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4754, allocations: 0 / 390.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.4761, allocations: 220.2 kB / 390.8 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.4762, allocations: 89.08 kB / 390.9 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.4762, allocations: 4 kB / 390.9 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.4765, allocations: 4.188 kB / 390.9 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.4765, allocations: 11.98 kB / 390.9 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4766, allocations: 4 kB / 390.9 MB, free: 9.414 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.4767, allocations: 113.1 kB / 391 MB, free: 9.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4767, allocations: 0 / 391 MB, free: 9.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007898/0.4775, allocations: 43.84 kB / 391.1 MB, free: 9.262 MB / 330.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.001011/0.4786, allocations: 0.7483 MB / 391.8 MB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006857/0.4793, allocations: 202.5 kB / 392 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4793, allocations: 0 / 392 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.4797, allocations: 150.7 kB / 392.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.4801, allocations: 20.02 kB / 392.2 MB, free: 8.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.4826, allocations: 1.093 MB / 393.3 MB, free: 6.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.4831, allocations: 0.7082 MB / 394 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.654e-05/0.4832, allocations: 16.59 kB / 394 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.537e-05/0.4833, allocations: 31.42 kB / 394.1 MB, free: 6.156 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4833, allocations: 0 / 394.1 MB, free: 6.156 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05305/0.5364, allocations: 2.587 MB / 396.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.5367, allocations: 219 kB / 396.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.065, allocations: 0 / 396.9 MB, free: 3.367 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat