Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001769/0.001769, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 45.92 MB / 344.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 7.984 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1608, allocations: 63.46 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.6047/0.7655, allocations: 165.2 MB / 0.6322 GB, free: 1.082 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.7676, allocations: 0.8863 MB / 0.6331 GB, free: 200 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.7679, allocations: 7.938 kB / 0.6331 GB, free: 192 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.7686, allocations: 139 kB / 0.6332 GB, free: 52 kB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0006106/0.7692, allocations: 290.4 kB / 0.6335 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004806/0.774, allocations: 1.393 MB / 0.6348 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.7754, allocations: 1.104 MB / 0.6359 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.7758, allocations: 260.3 kB / 0.6362 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/0.7793, allocations: 1.34 MB / 0.6375 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.7798, allocations: 310.9 kB / 0.6378 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.7798, allocations: 20 kB / 0.6378 GB, free: 11.35 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004921/0.7848, allocations: 2.304 MB / 0.64 GB, free: 9.047 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.785, allocations: 171.5 kB / 0.6402 GB, free: 8.879 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.7852, allocations: 117.5 kB / 0.6403 GB, free: 8.758 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.7876, allocations: 1.321 MB / 0.6416 GB, free: 7.434 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.7876, allocations: 0 / 0.6416 GB, free: 7.434 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7876, allocations: 3.938 kB / 0.6416 GB, free: 7.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.7876, allocations: 0 / 0.6416 GB, free: 7.43 MB / 478.1 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.001688/0.7893, allocations: 0.9624 MB / 0.6425 GB, free: 6.406 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.7894, allocations: 8.031 kB / 0.6426 GB, free: 6.398 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.7897, allocations: 63.39 kB / 0.6426 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.7902, allocations: 366.1 kB / 0.643 GB, free: 5.938 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.7902, allocations: 25 kB / 0.643 GB, free: 5.914 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.7903, allocations: 36 kB / 0.643 GB, free: 5.879 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009156/0.7912, allocations: 0.5159 MB / 0.6435 GB, free: 5.332 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.7913, allocations: 3.938 kB / 0.6435 GB, free: 5.328 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.7913, allocations: 24.86 kB / 0.6436 GB, free: 5.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.7913, allocations: 11.95 kB / 0.6436 GB, free: 5.293 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000844/0.7922, allocations: 0.4993 MB / 0.6441 GB, free: 4.793 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.7948, allocations: 1.975 MB / 0.646 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007332/0.7956, allocations: 461.6 kB / 0.6464 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.7959, allocations: 182.5 kB / 0.6466 GB, free: 1.992 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009193/0.7968, allocations: 0.9454 MB / 0.6475 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.7969, allocations: 42.5 kB / 0.6476 GB, free: 0.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=30): time 1.684e-06/0.7969, allocations: 0 / 0.6476 GB, free: 0.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=30): time 0.00109/0.798, allocations: 0.512 MB / 0.6481 GB, free: 284 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.798, allocations: 106.8 kB / 0.6482 GB, free: 152 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.7985, allocations: 397.5 kB / 0.6485 GB, free: 15.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.7985, allocations: 33.7 kB / 0.6486 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.7987, allocations: 220.3 kB / 0.6488 GB, free: 15.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/0.7988, allocations: 106.5 kB / 0.6489 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.7988, allocations: 8 kB / 0.6489 GB, free: 15.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.799, allocations: 354.8 kB / 0.6492 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.7993, allocations: 152.6 kB / 0.6494 GB, free: 14.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.7997, allocations: 266.2 kB / 0.6496 GB, free: 14.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.8, allocations: 243.3 kB / 0.6499 GB, free: 14.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8001, allocations: 4 kB / 0.6499 GB, free: 14.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009234/0.801, allocations: 0.5661 MB / 0.6504 GB, free: 13.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.8011, allocations: 63.39 kB / 0.6505 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.8011, allocations: 4 kB / 0.6505 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.8011, allocations: 8 kB / 0.6505 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.8015, allocations: 83.89 kB / 0.6506 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.8015, allocations: 4 kB / 0.6506 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.8019, allocations: 63.52 kB / 0.6506 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/0.802, allocations: 27.92 kB / 0.6507 GB, free: 13.48 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002382/0.8022, allocations: 186.2 kB / 0.6508 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.8023, allocations: 39.53 kB / 0.6509 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.8035, allocations: 497.3 kB / 0.6514 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.8035, allocations: 4 kB / 0.6514 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.8035, allocations: 4 kB / 0.6514 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.8035, allocations: 240 / 0.6514 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/0.8071, allocations: 2.443 MB / 0.6537 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.8072, allocations: 4 kB / 0.6538 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.8075, allocations: 72.09 kB / 0.6538 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.8075, allocations: 8 kB / 0.6538 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.8076, allocations: 11.98 kB / 0.6538 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.8076, allocations: 7.938 kB / 0.6538 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.8076, allocations: 7.891 kB / 0.6539 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.8086, allocations: 0.6364 MB / 0.6545 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.8088, allocations: 152.4 kB / 0.6546 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.8089, allocations: 11.94 kB / 0.6546 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.8094, allocations: 23.98 kB / 0.6547 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.8095, allocations: 27.92 kB / 0.6547 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.8096, allocations: 23.98 kB / 0.6547 GB, free: 8.918 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.8101, allocations: 355.1 kB / 0.655 GB, free: 8.574 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8101, allocations: 0 / 0.655 GB, free: 8.574 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001572/0.8117, allocations: 343.6 kB / 0.6554 GB, free: 8.238 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/0.8131, allocations: 497.6 kB / 0.6558 GB, free: 7.762 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009774/0.8141, allocations: 487 kB / 0.6563 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8141, allocations: 0 / 0.6563 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.8144, allocations: 175.8 kB / 0.6565 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.8159, allocations: 252.5 kB / 0.6567 GB, free: 6.852 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.8174, allocations: 0.9621 MB / 0.6577 GB, free: 5.832 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.8178, allocations: 0.8315 MB / 0.6585 GB, free: 4.973 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.818, allocations: 55.42 kB / 0.6585 GB, free: 4.918 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.818, allocations: 0 / 0.6585 GB, free: 4.918 MB / 494.1 MB Notification: Performance of Templates: time 0.01773/0.8357, allocations: 11.3 MB / 0.6696 GB, free: 9.684 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.o] Error 1