Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7534/0.7534, allocations: 150.8 MB / 166.7 MB, free: 15.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.508e-05/1.51e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1386, allocations: 31.99 MB / 237.4 MB, free: 5.414 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe): time 1.435/1.574, allocations: 294.7 MB / 0.5196 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.464/2.038, allocations: 194.4 MB / 0.7094 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/2.039, allocations: 12.81 kB / 0.7094 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003816/2.039, allocations: 92.83 kB / 0.7095 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009596/2.04, allocations: 410.3 kB / 0.7099 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02737/2.067, allocations: 10.88 MB / 0.7205 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003651/2.071, allocations: 5.449 MB / 0.7259 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/2.073, allocations: 1.679 MB / 0.7275 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/2.074, allocations: 1.343 MB / 0.7288 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/2.076, allocations: 2 MB / 0.7308 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003359/2.076, allocations: 193.6 kB / 0.731 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03544/2.111, allocations: 23.24 MB / 0.7537 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001865/2.113, allocations: 1.295 MB / 0.7549 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00189/2.115, allocations: 1.513 MB / 0.7564 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01758/2.133, allocations: 10.53 MB / 0.7667 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/2.133, allocations: 4 kB / 0.7667 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.595e-06/2.133, allocations: 0 / 0.7667 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001488/2.133, allocations: 0 / 0.7667 GB, free: 10.45 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.01444/2.147, allocations: 4.267 MB / 0.7709 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/2.148, allocations: 12.03 kB / 0.7709 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/2.149, allocations: 277 kB / 0.7711 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/2.151, allocations: 1.321 MB / 0.7724 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/2.152, allocations: 0.494 MB / 0.7729 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005482/2.152, allocations: 286.9 kB / 0.7732 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007504/2.16, allocations: 4.929 MB / 0.778 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.864e-05/2.16, allocations: 12.72 kB / 0.778 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/2.16, allocations: 113.6 kB / 0.7781 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.759e-05/2.16, allocations: 71.94 kB / 0.7782 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/2.177, allocations: 12.17 MB / 0.7901 GB, free: 7.793 MB / 0.6075 GB 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.03768/2.215, allocations: 29.22 MB / 0.8186 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/2.228, allocations: 4.494 MB / 0.823 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004031/2.232, allocations: 2.267 MB / 0.8252 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6947/2.927, allocations: 287.1 MB / 1.106 GB, free: 317.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/2.927, allocations: 67.61 kB / 1.106 GB, free: 317.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=339): time 5.721e-06/2.927, allocations: 0 / 1.106 GB, free: 317.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=339): time 0.0199/2.947, allocations: 9.237 MB / 1.115 GB, free: 310.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/2.947, allocations: 90.62 kB / 1.115 GB, free: 310.2 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/2.948, allocations: 1.072 MB / 1.116 GB, free: 309.4 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003092/2.948, allocations: 88.58 kB / 1.116 GB, free: 309.3 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/2.949, allocations: 0.7628 MB / 1.117 GB, free: 308.8 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007188/2.949, allocations: 1.215 MB / 1.118 GB, free: 307.7 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003743/2.95, allocations: 328.9 kB / 1.118 GB, free: 307.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.538e-05/2.95, allocations: 301.1 kB / 1.118 GB, free: 307.2 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003019/2.953, allocations: 2.116 MB / 1.12 GB, free: 305.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003354/2.956, allocations: 2.906 MB / 1.123 GB, free: 303.4 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006468/2.963, allocations: 5.322 MB / 1.128 GB, free: 297.9 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/2.963, allocations: 4 kB / 1.129 GB, free: 297.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.009489/2.972, allocations: 6.775 MB / 1.135 GB, free: 291.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/2.972, allocations: 16.66 kB / 1.135 GB, free: 291.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/2.972, allocations: 23.98 kB / 1.135 GB, free: 291 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02311/2.995, allocations: 6.617 MB / 1.142 GB, free: 284.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004425/3, allocations: 0.8737 MB / 1.142 GB, free: 283.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006751/3.007, allocations: 5.09 MB / 1.147 GB, free: 278.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/3.009, allocations: 420 kB / 1.148 GB, free: 278.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/3.009, allocations: 195.9 kB / 1.148 GB, free: 277.9 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,dynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(21,148)} Notification: Performance of prepare postOptimizeDAE: time 0.0009608/3.01, allocations: 0.6862 MB / 1.149 GB, free: 277.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/3.011, allocations: 209.8 kB / 1.149 GB, free: 277 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/3.022, allocations: 6.398 MB / 1.155 GB, free: 270.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/3.022, allocations: 32 kB / 1.155 GB, free: 270.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/3.022, allocations: 12 kB / 1.155 GB, free: 270.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/3.022, allocations: 15.94 kB / 1.155 GB, free: 270.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2603/3.282, allocations: 165.8 MB / 1.317 GB, free: 87.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/3.282, allocations: 6.375 kB / 1.317 GB, free: 87.19 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004241/3.286, allocations: 0.8207 MB / 1.318 GB, free: 86.37 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003424/3.29, allocations: 1.044 MB / 1.319 GB, free: 85.27 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000366/3.29, allocations: 157.6 kB / 1.319 GB, free: 85.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/3.305, allocations: 27.96 MB / 1.346 GB, free: 54.54 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/3.305, allocations: 0 / 1.346 GB, free: 54.54 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/3.318, allocations: 7.945 MB / 1.354 GB, free: 46.46 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/3.319, allocations: 0.7866 MB / 1.355 GB, free: 45.65 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/3.319, allocations: 83.97 kB / 1.355 GB, free: 45.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/3.321, allocations: 149.4 kB / 1.355 GB, free: 45.42 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000679/3.322, allocations: 338 kB / 1.355 GB, free: 45.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/3.322, allocations: 135.9 kB / 1.356 GB, free: 44.96 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006753/3.323, allocations: 0.7172 MB / 1.356 GB, free: 44.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/3.323, allocations: 0 / 1.356 GB, free: 44.23 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005916/3.329, allocations: 2.798 MB / 1.359 GB, free: 41.65 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 41 (dynamicOnePhaseFlowPipe.P[2],dynamicOnePhaseFlowPipe.P[3],dynamicOnePhaseFlowPipe.P[4],dynamicOnePhaseFlowPipe.P[5],dynamicOnePhaseFlowPipe.P[6],dynamicOnePhaseFlowPipe.P[7],dynamicOnePhaseFlowPipe.P[8],dynamicOnePhaseFlowPipe.P[9],dynamicOnePhaseFlowPipe.P[10],dynamicOnePhaseFlowPipe.P[11],dynamicOnePhaseFlowPipe.Q[1],dynamicOnePhaseFlowPipe.Q[2],dynamicOnePhaseFlowPipe.Q[3],dynamicOnePhaseFlowPipe.Q[4],dynamicOnePhaseFlowPipe.Q[5],dynamicOnePhaseFlowPipe.Q[6],dynamicOnePhaseFlowPipe.Q[7],dynamicOnePhaseFlowPipe.Q[8],dynamicOnePhaseFlowPipe.Q[9],dynamicOnePhaseFlowPipe.Q[10],dynamicOnePhaseFlowPipe.Q[11],dynamicOnePhaseFlowPipe.h[2],dynamicOnePhaseFlowPipe.h[3],dynamicOnePhaseFlowPipe.h[4],dynamicOnePhaseFlowPipe.h[5],dynamicOnePhaseFlowPipe.h[6],dynamicOnePhaseFlowPipe.h[7],dynamicOnePhaseFlowPipe.h[8],dynamicOnePhaseFlowPipe.h[9],dynamicOnePhaseFlowPipe.h[10],dynamicOnePhaseFlowPipe.h[11],heatExchangerWall.Tp[1],heatExchangerWall.Tp[2],heatExchangerWall.Tp[3],heatExchangerWall.Tp[4],heatExchangerWall.Tp[5],heatExchangerWall.Tp[6],heatExchangerWall.Tp[7],heatExchangerWall.Tp[8],heatExchangerWall.Tp[9],heatExchangerWall.Tp[10]) * 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 (319): * Single equations (assignments): 299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007517/3.336, allocations: 3.145 MB / 1.362 GB, free: 38.88 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008965/3.345, allocations: 5.405 MB / 1.367 GB, free: 33.46 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/3.345, allocations: 320 / 1.367 GB, free: 33.46 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006085/3.351, allocations: 4.933 MB / 1.372 GB, free: 28.26 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/3.353, allocations: 450.7 kB / 1.373 GB, free: 27.84 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/3.364, allocations: 9.448 MB / 1.382 GB, free: 18.65 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009276/3.365, allocations: 1.706 MB / 1.383 GB, free: 16.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/3.366, allocations: 343.2 kB / 1.384 GB, free: 16.57 MB / 0.795 GB Notification: Performance of SimCode: time 3.9e-07/3.366, allocations: 4 kB / 1.384 GB, free: 16.57 MB / 0.795 GB Notification: Performance of Templates: time 0.2874/3.654, allocations: 129.2 MB / 1.51 GB, free: 346.8 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipeCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipeCalcHelperMain.o] Error 1