Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.569/2.569, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.429e-05/4.44e-05, allocations: 11.98 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4755, allocations: 54.84 MB / 364.6 MB, free: 5.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.361/8.836, allocations: 2.67 GB / 3.026 GB, free: 85.71 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/8.837, allocations: 80.17 kB / 3.026 GB, free: 85.67 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.564/14.4, allocations: 1.021 GB / 4.048 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.625e-06/14.4, allocations: 0 / 4.048 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004399/14.4, allocations: 79.92 kB / 4.048 GB, free: 22.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.02308/14.42, allocations: 4.386 MB / 4.052 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/14.42, allocations: 11.97 kB / 4.052 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003055/14.43, allocations: 415.8 kB / 4.052 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/14.44, allocations: 1.031 MB / 4.053 GB, free: 17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009676/14.45, allocations: 2.238 MB / 4.056 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005391/14.45, allocations: 280.2 kB / 4.056 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/14.45, allocations: 240 kB / 4.056 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/14.47, allocations: 4.461 MB / 4.06 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001238/14.47, allocations: 7.641 kB / 4.06 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001355/14.47, allocations: 112 kB / 4.06 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004357/14.47, allocations: 224.8 kB / 4.061 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/14.48, allocations: 4.036 MB / 4.065 GB, free: 5.109 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.04776/14.53, allocations: 19.06 MB / 4.083 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.494/15.03, allocations: 2.658 MB / 4.086 GB, free: 40.74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004844/15.03, allocations: 1.298 MB / 4.087 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05439/15.09, allocations: 17.06 MB / 4.104 GB, free: 30.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.008e-05/15.09, allocations: 53.16 kB / 4.104 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0026/15.09, allocations: 360.4 kB / 4.104 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 6.883e-06/15.09, allocations: 1.062 kB / 4.104 GB, free: 30.18 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p 2: tank.medium.h 3: pipe.mediums[2].p 4: pipe.mediums[1].p 5: radiator.mediums[1].p 6: pump.medium.h 7: heater.mediums[1].p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=283): time 1.077/16.17, allocations: 62.18 MB / 4.165 GB, free: 26.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4538/16.62, allocations: 87.18 MB / 4.25 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004528/16.62, allocations: 1.68 MB / 4.252 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001061/16.63, allocations: 76.33 kB / 4.252 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001463/16.63, allocations: 1.097 MB / 4.253 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002192/16.63, allocations: 0.9335 MB / 4.254 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005672/16.63, allocations: 59.56 kB / 4.254 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003088/16.63, allocations: 435 kB / 4.254 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007177/16.64, allocations: 2.572 MB / 4.257 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008114/16.65, allocations: 3.124 MB / 4.26 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/16.66, allocations: 2.999 MB / 4.263 GB, free: 3.246 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-05/16.66, allocations: 4 kB / 4.263 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.02689/16.68, allocations: 8.513 MB / 4.271 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002573/16.68, allocations: 5.846 MB / 4.277 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.346e-05/16.69, allocations: 12 kB / 4.277 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6113/17.3, allocations: 17.39 MB / 4.294 GB, free: 62.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00351/17.3, allocations: 380.1 kB / 4.294 GB, free: 62.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03829/17.34, allocations: 10.07 MB / 4.304 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0114/17.35, allocations: 407.4 kB / 4.304 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/17.35, allocations: 178.3 kB / 4.304 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/17.35, allocations: 8.281 kB / 4.304 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03657/17.39, allocations: 7.973 MB / 4.312 GB, free: 60.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.828e-05/17.39, allocations: 17.41 kB / 4.312 GB, free: 60.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05362/17.44, allocations: 8.101 MB / 4.32 GB, free: 60.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003786/17.45, allocations: 453.1 kB / 4.321 GB, free: 60.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02585/17.47, allocations: 9.165 MB / 4.33 GB, free: 59.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007297/17.48, allocations: 402.2 kB / 4.33 GB, free: 59.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/17.48, allocations: 174.2 kB / 4.33 GB, free: 59.83 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 79,17 85} Notification: Performance of prepare postOptimizeDAE: time 0.001461/17.48, allocations: 268.9 kB / 4.33 GB, free: 59.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/17.48, allocations: 253.8 kB / 4.331 GB, free: 59.72 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03839/17.52, allocations: 17.22 MB / 4.347 GB, free: 59.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001734/17.52, allocations: 121.5 kB / 4.348 GB, free: 59.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/17.52, allocations: 2.219 kB / 4.348 GB, free: 59.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03302/17.55, allocations: 15.41 MB / 4.363 GB, free: 58.23 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0648/17.62, allocations: 27.17 MB / 4.389 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.303e-05/17.62, allocations: 2.25 kB / 4.389 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/17.62, allocations: 231.7 kB / 4.389 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1214/17.74, allocations: 26.61 MB / 4.415 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001042/17.74, allocations: 105.8 kB / 4.415 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03529/17.78, allocations: 15.49 MB / 4.431 GB, free: 44.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.9687/18.75, allocations: 145.1 MB / 4.572 GB, free: 67.03 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04829/18.8, allocations: 22.34 MB / 4.594 GB, free: 59.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004462/18.8, allocations: 1.154 MB / 4.595 GB, free: 58.46 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001519/18.8, allocations: 58.41 kB / 4.595 GB, free: 58.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007787/18.81, allocations: 431.3 kB / 4.596 GB, free: 58.36 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001388/18.81, allocations: 269.5 kB / 4.596 GB, free: 58.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007574/18.81, allocations: 136.2 kB / 4.596 GB, free: 58.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003344/18.82, allocations: 1.329 MB / 4.597 GB, free: 57.77 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.62e-07/18.82, allocations: 0 / 4.597 GB, free: 57.77 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03733/18.85, allocations: 7.232 MB / 4.604 GB, free: 57.17 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 60 ($cse85.phase,$cse85.region,$cse88.phase,$cse88.region,$cse89.phase,$cse89.region,$cse91.phase,$cse91.region,$cse93.phase,$cse93.region,$cse94.region3boundary,$cse95.region3boundary,$cse96.phase,$cse96.region,$cse97.phase,$cse97.region,$cse101.phase,$cse101.region,$cse102.phase,$cse102.region,$cse105.phase,$cse105.region,$cse106.phase,$cse106.region,$cse107.region3boundary,$cse108.region3boundary,$cse109.phase,$cse109.region,$cse119.phase,$cse119.region,$cse120.phase,$cse120.region,$cse121.region3boundary,$cse122.region3boundary,$cse123.phase,$cse123.region,$cse130.phase,$cse130.region,$cse131.phase,$cse131.region,$cse132.phase,$cse132.region,$cse133.region3boundary,$cse134.region3boundary,$cse135.phase,$cse135.region,$cse136.region3boundary,$cse137.region3boundary,$cse138.phase,$cse138.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 82,19 121} Notification: Performance of Backend phase and start with SimCode phase: time 0.09491/18.95, allocations: 24.98 MB / 4.629 GB, free: 47.24 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04427/18.99, allocations: 11.77 MB / 4.64 GB, free: 43.19 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/18.99, allocations: 0 / 4.64 GB, free: 43.19 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01868/19.01, allocations: 5.655 MB / 4.646 GB, free: 40.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/19.02, allocations: 1.071 MB / 4.647 GB, free: 40.68 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04634/19.07, allocations: 14.41 MB / 4.661 GB, free: 34.32 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004099/19.07, allocations: 2.993 MB / 4.664 GB, free: 33.35 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004936/19.08, allocations: 1.685 MB / 4.666 GB, free: 32.07 MB / 0.573 GB Notification: Performance of SimCode: time 1.393e-06/19.08, allocations: 0.75 kB / 4.666 GB, free: 32.07 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.589/28.67, allocations: 232.6 MB / 4.893 GB, free: 13.22 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat does not exist to compare? outputFormat=mat