Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.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.TestDiffusion_DynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7506/0.7506, allocations: 150.8 MB / 166.7 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.355e-05/1.363e-05, allocations: 4 kB / 205.4 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 31.98 MB / 237.4 MB, free: 5.254 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.TestDiffusion_DynamicOnePhaseFlowPipe): time 1.47/1.611, allocations: 297.1 MB / 0.522 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4422/2.053, allocations: 195.3 MB / 0.7127 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005258/2.054, allocations: 26.09 kB / 0.7128 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003835/2.054, allocations: 200.6 kB / 0.713 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00107/2.055, allocations: 0.8303 MB / 0.7138 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02555/2.081, allocations: 11.28 MB / 0.7248 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006986/2.088, allocations: 10.94 MB / 0.7355 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003369/2.091, allocations: 3.408 MB / 0.7388 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/2.094, allocations: 2.732 MB / 0.7415 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003809/2.097, allocations: 4.186 MB / 0.7456 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006408/2.098, allocations: 388 kB / 0.7459 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03951/2.138, allocations: 23.66 MB / 0.769 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003763/2.141, allocations: 2.594 MB / 0.7716 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005197/2.147, allocations: 3.048 MB / 0.7746 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02153/2.168, allocations: 13.62 MB / 0.7879 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/2.168, allocations: 0 / 0.7879 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/2.168, allocations: 0 / 0.7879 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001351/2.168, allocations: 0 / 0.7879 GB, free: 14.36 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1372 * Number of variables: 1372 Notification: Performance of Generate backend data structure: time 0.02174/2.19, allocations: 7.172 MB / 0.7949 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/2.19, allocations: 8.031 kB / 0.7949 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/2.192, allocations: 0.541 MB / 0.7954 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/2.196, allocations: 2.522 MB / 0.7979 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008853/2.197, allocations: 0.9984 MB / 0.7988 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/2.198, allocations: 0.5067 MB / 0.7993 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/2.213, allocations: 9.353 MB / 0.8085 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.831e-05/2.213, allocations: 2.906 kB / 0.8085 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006123/2.214, allocations: 212 kB / 0.8087 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.417e-05/2.214, allocations: 132 kB / 0.8088 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02738/2.241, allocations: 22.97 MB / 0.8312 GB, free: 1.766 MB / 0.6387 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.07053/2.312, allocations: 43.75 MB / 0.8739 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0292/2.341, allocations: 11.86 MB / 0.8855 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009743/2.351, allocations: 5.294 MB / 0.8907 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6872/3.038, allocations: 291.6 MB / 1.175 GB, free: 243.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/3.038, allocations: 119.5 kB / 1.176 GB, free: 243.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=807): time 1.038e-05/3.038, allocations: 0 / 1.176 GB, free: 243.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=807): time 0.03592/3.074, allocations: 20.05 MB / 1.195 GB, free: 227 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/3.074, allocations: 222.8 kB / 1.195 GB, free: 226.8 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/3.076, allocations: 1.847 MB / 1.197 GB, free: 224.9 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004477/3.077, allocations: 153.7 kB / 1.197 GB, free: 224.8 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/3.077, allocations: 1.108 MB / 1.198 GB, free: 223.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/3.079, allocations: 2.725 MB / 1.201 GB, free: 221 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006954/3.079, allocations: 0.5519 MB / 1.202 GB, free: 220.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.664e-05/3.08, allocations: 305.1 kB / 1.202 GB, free: 220.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005849/3.085, allocations: 4.222 MB / 1.206 GB, free: 215.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006155/3.092, allocations: 5.082 MB / 1.211 GB, free: 210.6 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/3.104, allocations: 10.13 MB / 1.221 GB, free: 200.2 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/3.104, allocations: 8 kB / 1.221 GB, free: 200.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02228/3.127, allocations: 14.76 MB / 1.235 GB, free: 185.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/3.127, allocations: 63.41 kB / 1.235 GB, free: 185.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/3.127, allocations: 16 kB / 1.235 GB, free: 185.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0934/3.22, allocations: 27.01 MB / 1.262 GB, free: 158.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007314/3.228, allocations: 1.135 MB / 1.263 GB, free: 157.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03361/3.261, allocations: 41.44 MB / 1.303 GB, free: 113.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006295/3.268, allocations: 0.7548 MB / 1.304 GB, free: 112.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/3.269, allocations: 348.3 kB / 1.304 GB, free: 112 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 17 (sourceP1.C.ftype,dynamicOnePhaseFlowPipe1.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.C.ftype,switchValve.C2.diff_on_1,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,switchValve.fluid,nONL.yL.signal,echelon.yL.signal,sourceP.fluid1,dynamicOnePhaseFlowPipe1.C1.diff_on_2,dynamicOnePhaseFlowPipe1.C2.diff_on_1,dynamicOnePhaseFlowPipe.C1.diff_on_2,sourceP.C.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 (351): * Single equations (assignments): 327 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(32,214), (33,218)} Notification: Performance of prepare postOptimizeDAE: time 0.00222/3.271, allocations: 1.273 MB / 1.306 GB, free: 110.7 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007959/3.272, allocations: 435.1 kB / 1.306 GB, free: 110.3 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0283/3.3, allocations: 16.65 MB / 1.322 GB, free: 93.59 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/3.3, allocations: 80.7 kB / 1.322 GB, free: 93.52 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-05/3.3, allocations: 8 kB / 1.322 GB, free: 93.51 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/3.3, allocations: 36.52 kB / 1.322 GB, free: 93.47 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04131/3.342, allocations: 24.78 MB / 1.347 GB, free: 68.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/3.342, allocations: 0 / 1.347 GB, free: 68.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005547/3.347, allocations: 0.9481 MB / 1.348 GB, free: 67.71 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0908/3.438, allocations: 21.35 MB / 1.368 GB, free: 46.51 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001859/3.44, allocations: 243.8 kB / 1.369 GB, free: 46.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03228/3.472, allocations: 41.11 MB / 1.409 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/3.472, allocations: 0.5625 kB / 1.409 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1961/3.668, allocations: 14.17 MB / 1.423 GB, free: 411.4 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002603/3.671, allocations: 1.615 MB / 1.424 GB, free: 411.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006632/3.672, allocations: 127.1 kB / 1.424 GB, free: 411.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004198/3.676, allocations: 343.4 kB / 1.425 GB, free: 411.2 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001072/3.677, allocations: 0.5257 MB / 1.425 GB, free: 411.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005015/3.677, allocations: 287.6 kB / 1.425 GB, free: 411.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001327/3.679, allocations: 1.274 MB / 1.427 GB, free: 411.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/3.679, allocations: 0 / 1.427 GB, free: 411.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007373/3.686, allocations: 3.839 MB / 1.43 GB, free: 410.9 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (echelon.yL.signal,nONL.yL.signal) * Number of discrete states: 2 (echelon.yL.signal,nONL.yL.signal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(32,205), (33,208)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007247/3.693, allocations: 3.201 MB / 1.434 GB, free: 410.7 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01988/3.713, allocations: 13.64 MB / 1.447 GB, free: 408.1 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/3.713, allocations: 0 / 1.447 GB, free: 408.1 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01209/3.725, allocations: 8.548 MB / 1.455 GB, free: 405.1 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/3.729, allocations: 0.8902 MB / 1.456 GB, free: 404.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/3.749, allocations: 13.99 MB / 1.47 GB, free: 398.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/3.75, allocations: 2.764 MB / 1.472 GB, free: 396.4 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/3.752, allocations: 407.5 kB / 1.473 GB, free: 396 MB / 0.795 GB Notification: Performance of SimCode: time 5.31e-07/3.752, allocations: 6.969 kB / 1.473 GB, free: 396 MB / 0.795 GB Notification: Performance of Templates: time 0.4329/4.185, allocations: 365.7 MB / 1.83 GB, free: 336.5 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.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.TestDiffusion_DynamicOnePhaseFlowPipeCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipeCalcHelperMain.o] Error 1