Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.05e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5405/0.6721, allocations: 128.7 MB / 0.527 GB, free: 7.691 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005706/0.6779, allocations: 2.24 MB / 0.5291 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006954/0.6786, allocations: 15.88 kB / 0.5292 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.6793, allocations: 163.1 kB / 0.5293 GB, free: 5.273 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.6818, allocations: 0.5568 MB / 0.5299 GB, free: 4.715 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.684, allocations: 490.9 kB / 0.5303 GB, free: 4.234 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.6855, allocations: 0.5393 MB / 0.5308 GB, free: 3.695 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.6861, allocations: 227.3 kB / 0.5311 GB, free: 3.473 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.6872, allocations: 339.1 kB / 0.5314 GB, free: 3.141 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.6878, allocations: 247.2 kB / 0.5316 GB, free: 2.898 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.6892, allocations: 383.5 kB / 0.532 GB, free: 2.523 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.6895, allocations: 40 kB / 0.532 GB, free: 2.484 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.6897, allocations: 119.6 kB / 0.5321 GB, free: 2.367 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.6899, allocations: 56 kB / 0.5322 GB, free: 2.312 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.6913, allocations: 0.636 MB / 0.5328 GB, free: 1.684 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6913, allocations: 3.938 kB / 0.5328 GB, free: 1.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6913, allocations: 0 / 0.5328 GB, free: 1.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.6913, allocations: 0 / 0.5328 GB, free: 1.68 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002141/0.6935, allocations: 0.7626 MB / 0.5336 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.6936, allocations: 12.03 kB / 0.5336 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.6941, allocations: 64.73 kB / 0.5336 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008662/0.695, allocations: 390.5 kB / 0.534 GB, free: 376 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.6951, allocations: 58.7 kB / 0.5341 GB, free: 312 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.6953, allocations: 43.94 kB / 0.5341 GB, free: 268 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.6969, allocations: 0.5166 MB / 0.5346 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.6969, allocations: 4 kB / 0.5346 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/0.697, allocations: 16 kB / 0.5346 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.841e-05/0.6971, allocations: 24.64 kB / 0.5347 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.6987, allocations: 426.1 kB / 0.5351 GB, free: 15.24 MB / 458.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.005172/0.7039, allocations: 2.512 MB / 0.5375 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.7053, allocations: 359.4 kB / 0.5379 GB, free: 12.19 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-05/0.7054, allocations: 4.281 kB / 0.5379 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008938/0.7063, allocations: 274.5 kB / 0.5381 GB, free: 11.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 3.025e-06/0.7063, allocations: 0 / 0.5381 GB, free: 11.89 MB / 458.7 MB 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: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.02209/0.7284, allocations: 3.593 MB / 0.5416 GB, free: 8.172 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.7286, allocations: 166.2 kB / 0.5418 GB, free: 7.973 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.7292, allocations: 336.8 kB / 0.5421 GB, free: 7.637 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.069e-05/0.7293, allocations: 33.7 kB / 0.5421 GB, free: 7.598 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.7296, allocations: 310.3 kB / 0.5424 GB, free: 7.289 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.7298, allocations: 157.8 kB / 0.5426 GB, free: 7.133 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.7299, allocations: 12 kB / 0.5426 GB, free: 7.121 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.7301, allocations: 334.8 kB / 0.5429 GB, free: 6.785 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.7312, allocations: 241.1 kB / 0.5432 GB, free: 6.551 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.7326, allocations: 425.1 kB / 0.5436 GB, free: 6.059 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.7338, allocations: 318.3 kB / 0.5439 GB, free: 5.738 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.7339, allocations: 7.953 kB / 0.5439 GB, free: 5.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003154/0.737, allocations: 0.7945 MB / 0.5446 GB, free: 4.918 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.7371, allocations: 34.36 kB / 0.5447 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.7372, allocations: 4.047 kB / 0.5447 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006922/0.7379, allocations: 128.7 kB / 0.5448 GB, free: 4.746 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.7389, allocations: 143.8 kB / 0.5449 GB, free: 4.605 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009108/0.7399, allocations: 0.6734 MB / 0.5456 GB, free: 3.906 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/0.7409, allocations: 71.95 kB / 0.5457 GB, free: 3.836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.741, allocations: 48 kB / 0.5457 GB, free: 3.789 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004159/0.7414, allocations: 193.6 kB / 0.5459 GB, free: 3.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.7416, allocations: 47.44 kB / 0.5459 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/0.7451, allocations: 0.7874 MB / 0.5467 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.7452, allocations: 4 kB / 0.5467 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.7452, allocations: 0 / 0.5467 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.7452, allocations: 0 / 0.5467 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004344/0.7496, allocations: 1.327 MB / 0.548 GB, free: 1.336 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.7496, allocations: 4 kB / 0.548 GB, free: 1.332 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009238/0.7506, allocations: 115.9 kB / 0.5481 GB, free: 1.219 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009597/0.7515, allocations: 100.9 kB / 0.5482 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.094e-05/0.7516, allocations: 23.94 kB / 0.5482 GB, free: 1.094 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.7545, allocations: 1.707 MB / 0.5499 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.7546, allocations: 4.031 kB / 0.5499 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004192/0.7588, allocations: 1.107 MB / 0.551 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.7593, allocations: 160.5 kB / 0.5511 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.7595, allocations: 12 kB / 0.5512 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008905/0.7604, allocations: 63.84 kB / 0.5512 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.7607, allocations: 67.84 kB / 0.5513 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.633e-05/0.7608, allocations: 35.98 kB / 0.5513 GB, free: 13.72 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004734/0.7612, allocations: 271.1 kB / 0.5516 GB, free: 13.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7613, allocations: 0 / 0.5516 GB, free: 13.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001112/0.7624, allocations: 235.9 kB / 0.5518 GB, free: 13.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/0.7635, allocations: 298.2 kB / 0.5521 GB, free: 12.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.7664, allocations: 0.6423 MB / 0.5527 GB, free: 12.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7665, allocations: 0 / 0.5527 GB, free: 12.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.768, allocations: 442.4 kB / 0.5531 GB, free: 11.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.7696, allocations: 194.4 kB / 0.5533 GB, free: 11.65 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.7728, allocations: 1.404 MB / 0.5547 GB, free: 10.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.7735, allocations: 0.867 MB / 0.5555 GB, free: 9.305 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/0.774, allocations: 79.41 kB / 0.5556 GB, free: 9.227 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/0.7741, allocations: 0 / 0.5556 GB, free: 9.227 MB / 474.7 MB Notification: Performance of Templates: time 0.03358/0.8076, allocations: 11.46 MB / 0.5668 GB, free: 13.81 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeFunctions.cpp:618:139: error: use of undeclared identifier 'sweptVolume_' Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure0_f__nonlinear(this, /*box Modelica_Media_IdealGases_Common_DataRecordType*/sweptVolume_.Medium_.data_, /*box double*/h_), 200.0, 6000.0, (100.0 * 1e-15),tmp134); ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.o] Error 1