Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008452, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001023, allocations: 177.1 kB / 16.58 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.891/0.891, allocations: 89.62 MB / 381.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004152, allocations: 14.25 kB / 460.6 MB, free: 24.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 68.83 MB / 0.517 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.5632/0.736, allocations: 127.3 MB / 0.6413 GB, free: 4.535 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.7386, allocations: 1.95 MB / 0.6432 GB, free: 2.957 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.7387, allocations: 2.656 kB / 0.6432 GB, free: 2.957 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.7392, allocations: 100.2 kB / 0.6433 GB, free: 2.879 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.7396, allocations: 121.4 kB / 0.6435 GB, free: 2.781 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.74, allocations: 123.6 kB / 0.6436 GB, free: 2.688 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.7403, allocations: 255.8 kB / 0.6438 GB, free: 2.539 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.7404, allocations: 54.88 kB / 0.6439 GB, free: 2.508 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.7408, allocations: 138.3 kB / 0.644 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.7411, allocations: 104.4 kB / 0.6441 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.7411, allocations: 5.594 kB / 0.6441 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.7415, allocations: 166.5 kB / 0.6443 GB, free: 2.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.7415, allocations: 18.97 kB / 0.6443 GB, free: 2.281 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.7416, allocations: 57.92 kB / 0.6443 GB, free: 2.234 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.7419, allocations: 143.4 kB / 0.6445 GB, free: 2.145 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.7419, allocations: 4 kB / 0.6445 GB, free: 2.141 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.7419, allocations: 0 / 0.6445 GB, free: 2.141 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.7419, allocations: 0 / 0.6445 GB, free: 2.141 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008902/0.7428, allocations: 497.8 kB / 0.645 GB, free: 1.664 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.7428, allocations: 9.281 kB / 0.645 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.7429, allocations: 18.41 kB / 0.645 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.7432, allocations: 208.9 kB / 0.6452 GB, free: 1.426 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.7432, allocations: 11.62 kB / 0.6452 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.7433, allocations: 11.84 kB / 0.6452 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.7436, allocations: 180.4 kB / 0.6454 GB, free: 1.281 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.7437, allocations: 3.984 kB / 0.6454 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.7437, allocations: 6.469 kB / 0.6454 GB, free: 1.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.7437, allocations: 2.094 kB / 0.6454 GB, free: 1.273 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.744, allocations: 108.9 kB / 0.6455 GB, free: 1.227 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.7452, allocations: 0.8969 MB / 0.6464 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.7456, allocations: 107.8 kB / 0.6465 GB, free: 272 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.7457, allocations: 45.58 kB / 0.6465 GB, free: 248 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.7458, allocations: 80.05 kB / 0.6466 GB, free: 152 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.7461, allocations: 98.83 kB / 0.6467 GB, free: 68 kB / 462.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.7461, allocations: 2.844 kB / 0.6467 GB, free: 68 kB / 462.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004751/0.7466, allocations: 156.5 kB / 0.6468 GB, free: 15.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.7467, allocations: 55.34 kB / 0.6469 GB, free: 15.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.7469, allocations: 199.9 kB / 0.6471 GB, free: 15.76 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.7469, allocations: 27.89 kB / 0.6471 GB, free: 15.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.747, allocations: 140.7 kB / 0.6472 GB, free: 15.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.747, allocations: 28.2 kB / 0.6473 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-06/0.7471, allocations: 11.94 kB / 0.6473 GB, free: 15.56 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7472, allocations: 328.7 kB / 0.6476 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.7474, allocations: 47.39 kB / 0.6476 GB, free: 15.22 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.7475, allocations: 89.97 kB / 0.6477 GB, free: 15.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.7477, allocations: 76.27 kB / 0.6478 GB, free: 15.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.7477, allocations: 0 / 0.6478 GB, free: 15.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003868/0.7481, allocations: 212.8 kB / 0.648 GB, free: 14.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.7482, allocations: 39.48 kB / 0.648 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7482, allocations: 2.844 kB / 0.648 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.7482, allocations: 1.906 kB / 0.648 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.7484, allocations: 40.53 kB / 0.6481 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.7484, allocations: 3.344 kB / 0.6481 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.7485, allocations: 23.55 kB / 0.6481 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.7485, allocations: 9.844 kB / 0.6481 GB, free: 14.89 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.7487, allocations: 125.8 kB / 0.6482 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.7487, allocations: 24.08 kB / 0.6483 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.749, allocations: 131.8 kB / 0.6484 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.7491, allocations: 3.984 kB / 0.6484 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7491, allocations: 0 / 0.6484 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7491, allocations: 0 / 0.6484 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.7493, allocations: 221.1 kB / 0.6486 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7493, allocations: 0.5 kB / 0.6486 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.7494, allocations: 19.89 kB / 0.6486 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.7494, allocations: 11.88 kB / 0.6486 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.7494, allocations: 3.781 kB / 0.6486 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.7495, allocations: 0 / 0.6486 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7495, allocations: 0 / 0.6486 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.7499, allocations: 201.6 kB / 0.6488 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.75, allocations: 95.11 kB / 0.6489 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.75, allocations: 3.953 kB / 0.6489 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.7502, allocations: 17.73 kB / 0.6489 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.7502, allocations: 21.61 kB / 0.649 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.7502, allocations: 2.562 kB / 0.649 GB, free: 14.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.7503, allocations: 142.9 kB / 0.6491 GB, free: 14.05 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7504, allocations: 0 / 0.6491 GB, free: 14.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.7506, allocations: 36.59 kB / 0.6491 GB, free: 14.04 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002876/0.7509, allocations: 139 kB / 0.6493 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000378/0.7513, allocations: 168.7 kB / 0.6494 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7513, allocations: 3.938 kB / 0.6494 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.7514, allocations: 45.72 kB / 0.6495 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.7518, allocations: 43.28 kB / 0.6495 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007411/0.7525, allocations: 480.8 kB / 0.65 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.7528, allocations: 0.7191 MB / 0.6507 GB, free: 12.67 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.7529, allocations: 16.53 kB / 0.6507 GB, free: 12.66 MB / 478.1 MB Notification: Performance of SimCode: time 2.61e-07/0.7529, allocations: 0 / 0.6507 GB, free: 12.66 MB / 478.1 MB Notification: Performance of Templates: time 0.004424/0.7573, allocations: 2.365 MB / 0.653 GB, free: 11.44 MB / 478.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSinkCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSinkCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSinkCalcHelperMain.o] Error 1