Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.053/1.053, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003603, allocations: 8 kB / 158.3 MB, free: 15.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0599/0.0603, allocations: 25.17 MB / 183.5 MB, free: 5.914 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002871/0.06321, allocations: 1.595 MB / 185.1 MB, free: 4.316 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.0642, allocations: 411.7 kB / 185.5 MB, free: 3.914 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.927e-05/0.06432, allocations: 4 kB / 185.5 MB, free: 3.91 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 4.961e-05/0.06438, allocations: 11.91 kB / 185.5 MB, free: 3.898 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.06457, allocations: 59.81 kB / 185.6 MB, free: 3.84 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.06479, allocations: 23.97 kB / 185.6 MB, free: 3.816 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.06505, allocations: 115.8 kB / 185.7 MB, free: 3.703 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.06526, allocations: 49.69 kB / 185.8 MB, free: 3.652 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.06542, allocations: 63.7 kB / 185.8 MB, free: 3.59 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.06557, allocations: 51.78 kB / 185.9 MB, free: 3.539 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.0656, allocations: 8 kB / 185.9 MB, free: 3.531 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.699e-05/0.0657, allocations: 11.98 kB / 185.9 MB, free: 3.52 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.06575, allocations: 23.86 kB / 185.9 MB, free: 3.496 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.06582, allocations: 53.64 kB / 186 MB, free: 3.438 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.06605, allocations: 115.6 kB / 186.1 MB, free: 3.324 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.06606, allocations: 0 / 186.1 MB, free: 3.324 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.06607, allocations: 0 / 186.1 MB, free: 3.324 MB / 154.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.06609, allocations: 4 kB / 186.1 MB, free: 3.32 MB / 154.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.0007315/0.06683, allocations: 423.1 kB / 186.5 MB, free: 2.855 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.06689, allocations: 8.031 kB / 186.5 MB, free: 2.848 MB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.216e-05/0.06696, allocations: 42.56 kB / 186.6 MB, free: 2.797 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.06703, allocations: 19.75 kB / 186.6 MB, free: 2.777 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.06733, allocations: 206.8 kB / 186.8 MB, free: 2.535 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.06737, allocations: 12.23 kB / 186.8 MB, free: 2.523 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.06741, allocations: 8 kB / 186.8 MB, free: 2.516 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.06778, allocations: 119.5 kB / 186.9 MB, free: 2.395 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.06781, allocations: 0 / 186.9 MB, free: 2.395 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.06784, allocations: 11.95 kB / 186.9 MB, free: 2.383 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.06786, allocations: 0 / 186.9 MB, free: 2.383 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.06819, allocations: 88.64 kB / 187 MB, free: 2.297 MB / 154.7 MB 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.001336/0.06954, allocations: 0.6675 MB / 187.7 MB, free: 1.539 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.06999, allocations: 90.62 kB / 187.8 MB, free: 1.441 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.07002, allocations: 0 / 187.8 MB, free: 1.441 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.07006, allocations: 34.52 kB / 187.8 MB, free: 1.398 MB / 154.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.07007, allocations: 0 / 187.8 MB, free: 1.398 MB / 154.7 MB Notification: Performance of matching and sorting (n=6): time 0.001081/0.07116, allocations: 263.5 kB / 188.1 MB, free: 1.113 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.07122, allocations: 55.41 kB / 188.1 MB, free: 1.047 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.07143, allocations: 154.6 kB / 188.3 MB, free: 0.8867 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.07147, allocations: 25.7 kB / 188.3 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.0716, allocations: 190 kB / 188.5 MB, free: 0.668 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.07165, allocations: 23.73 kB / 188.5 MB, free: 0.6445 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-06/0.07166, allocations: 0 / 188.5 MB, free: 0.6445 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.07182, allocations: 318.8 kB / 188.8 MB, free: 332 kB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.07194, allocations: 23.98 kB / 188.8 MB, free: 308 kB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.07208, allocations: 46.56 kB / 188.9 MB, free: 252 kB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.07222, allocations: 31.98 kB / 188.9 MB, free: 220 kB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.07224, allocations: 0 / 188.9 MB, free: 220 kB / 154.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00047/0.07271, allocations: 138.3 kB / 189 MB, free: 72 kB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.07275, allocations: 4 kB / 189.1 MB, free: 68 kB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.07277, allocations: 4.078 kB / 189.1 MB, free: 64 kB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/0.07303, allocations: 32.83 kB / 189.1 MB, free: 28 kB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.07317, allocations: 11.95 kB / 189.1 MB, free: 16 kB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.07543, allocations: 1.601 MB / 190.7 MB, free: 14.27 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.0756, allocations: 11.91 kB / 190.7 MB, free: 14.26 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.07562, allocations: 4 kB / 190.7 MB, free: 14.26 MB / 170.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.0001716/0.07581, allocations: 125.8 kB / 190.8 MB, free: 14.12 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.07587, allocations: 15.86 kB / 190.9 MB, free: 14.11 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.07591, allocations: 12.7 kB / 190.9 MB, free: 14.09 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.07592, allocations: 0 / 190.9 MB, free: 14.09 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.07594, allocations: 8 kB / 190.9 MB, free: 14.09 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.07595, allocations: 0 / 190.9 MB, free: 14.09 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.07627, allocations: 209.5 kB / 191.1 MB, free: 13.83 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.07629, allocations: 0 / 191.1 MB, free: 13.83 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.176e-05/0.07636, allocations: 7.984 kB / 191.1 MB, free: 13.82 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/0.07658, allocations: 36.8 kB / 191.1 MB, free: 13.79 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.07661, allocations: 4 kB / 191.1 MB, free: 13.78 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.07859, allocations: 1.557 MB / 192.7 MB, free: 12.07 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.07862, allocations: 4 kB / 192.7 MB, free: 12.07 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.07912, allocations: 224.2 kB / 192.9 MB, free: 11.83 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.07923, allocations: 93 kB / 193 MB, free: 11.72 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.07926, allocations: 0 / 193 MB, free: 11.72 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.07944, allocations: 8 kB / 193 MB, free: 11.71 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.07951, allocations: 15.94 kB / 193 MB, free: 11.7 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.07954, allocations: 4 kB / 193 MB, free: 11.7 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.07967, allocations: 111.8 kB / 193.1 MB, free: 11.59 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.07968, allocations: 3.938 kB / 193.1 MB, free: 11.58 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005096/0.0802, allocations: 47.84 kB / 193.2 MB, free: 11.54 MB / 170.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.0008993/0.08111, allocations: 0.7561 MB / 193.9 MB, free: 10.75 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0005669/0.0817, allocations: 194.6 kB / 194.1 MB, free: 10.55 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.08172, allocations: 4 kB / 194.1 MB, free: 10.54 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.08206, allocations: 150.7 kB / 194.3 MB, free: 10.38 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.08243, allocations: 23.97 kB / 194.3 MB, free: 10.36 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.0843, allocations: 0.8223 MB / 195.1 MB, free: 9.469 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.0847, allocations: 0.7121 MB / 195.8 MB, free: 8.73 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.08479, allocations: 35.42 kB / 195.9 MB, free: 8.695 MB / 170.7 MB Notification: Performance of SimCode: time 1.072e-06/0.0848, allocations: 0 / 195.9 MB, free: 8.695 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.455/2.54, allocations: 2.552 MB / 198.4 MB, free: 6.141 MB / 170.7 MB