Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.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.Examples.Book.SimpleExamples.Volume.TestMixer3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6803/0.6803, allocations: 150.8 MB / 166.7 MB, free: 15.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.929e-06/1.001e-05, allocations: 0 / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 31.98 MB / 237.4 MB, free: 5.418 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.Examples.Book.SimpleExamples.Volume.TestMixer3): time 1.299/1.419, allocations: 295.1 MB / 0.52 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03606/1.455, allocations: 37.38 MB / 0.5565 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/1.455, allocations: 4 kB / 0.5565 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/1.456, allocations: 139.2 kB / 0.5566 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/1.456, allocations: 202.4 kB / 0.5568 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01436/1.47, allocations: 7.399 MB / 0.564 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006763/1.471, allocations: 0.8087 MB / 0.5648 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/1.472, allocations: 301.7 kB / 0.5651 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/1.472, allocations: 274.7 kB / 0.5654 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/1.472, allocations: 266.4 kB / 0.5656 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/1.472, allocations: 20 kB / 0.5657 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02251/1.495, allocations: 17.82 MB / 0.5831 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/1.495, allocations: 91.48 kB / 0.5831 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002996/1.495, allocations: 343.9 kB / 0.5835 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006017/1.501, allocations: 5.96 MB / 0.5893 GB, free: 4.879 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/1.501, allocations: 3.938 kB / 0.5893 GB, free: 4.875 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.202e-06/1.501, allocations: 0 / 0.5893 GB, free: 4.875 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/1.501, allocations: 0 / 0.5893 GB, free: 4.875 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003008/1.504, allocations: 1.7 MB / 0.591 GB, free: 3.121 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/1.504, allocations: 12.03 kB / 0.591 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.068e-05/1.504, allocations: 86.91 kB / 0.5911 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/1.505, allocations: 343.7 kB / 0.5914 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/1.505, allocations: 49.31 kB / 0.5914 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/1.505, allocations: 60 kB / 0.5915 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008906/1.506, allocations: 0.7631 MB / 0.5922 GB, free: 1.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.506, allocations: 4 kB / 0.5922 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/1.506, allocations: 28 kB / 0.5923 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/1.506, allocations: 35.92 kB / 0.5923 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005852/1.506, allocations: 460.6 kB / 0.5927 GB, free: 1.195 MB / 478.1 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.01903/1.525, allocations: 13.09 MB / 0.6055 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/1.526, allocations: 311.4 kB / 0.6058 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/1.526, allocations: 210.3 kB / 0.606 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1367/1.663, allocations: 77.93 MB / 0.6821 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/1.663, allocations: 34.5 kB / 0.6822 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 1.974e-06/1.663, allocations: 0 / 0.6822 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.002642/1.666, allocations: 1.381 MB / 0.6835 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/1.666, allocations: 55.34 kB / 0.6836 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/1.666, allocations: 389.4 kB / 0.6839 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/1.666, allocations: 29.7 kB / 0.684 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/1.666, allocations: 276.4 kB / 0.6842 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/1.666, allocations: 275.9 kB / 0.6845 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/1.666, allocations: 69.67 kB / 0.6845 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.666, allocations: 362.8 kB / 0.6849 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/1.667, allocations: 149.3 kB / 0.685 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/1.667, allocations: 290.1 kB / 0.6853 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/1.668, allocations: 0.4903 MB / 0.6858 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.668, allocations: 4 kB / 0.6858 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001164/1.669, allocations: 0.7559 MB / 0.6865 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.669, allocations: 9.406 kB / 0.6865 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.669, allocations: 4 kB / 0.6865 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000966/1.67, allocations: 0.4981 MB / 0.687 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/1.67, allocations: 23.92 kB / 0.6871 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/1.673, allocations: 3.978 MB / 0.6909 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/1.673, allocations: 79.12 kB / 0.691 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/1.673, allocations: 20 kB / 0.691 GB, free: 1.824 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 16 (singularPressureLoss6.C2.b,singularPressureLoss6.C1.a,sourceQ.C.b,sinkP1.C.a,sourceP3.C.b,sourceP2.C.b,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,mixer2_2.Ce3.a,mixer2_2.Ce1.a,mixer2_2.Cs.b,mixer2_2.Ce2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001899/1.673, allocations: 185.7 kB / 0.6912 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/1.673, allocations: 59.23 kB / 0.6913 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1369/1.81, allocations: 1.657 MB / 0.6929 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001049/1.811, allocations: 0.887 MB / 0.6938 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.811, allocations: 0.5938 kB / 0.6938 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/1.811, allocations: 2.906 kB / 0.6938 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/1.814, allocations: 2.262 MB / 0.696 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.814, allocations: 0.625 kB / 0.696 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/1.814, allocations: 86.64 kB / 0.696 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008748/1.815, allocations: 0.5295 MB / 0.6966 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/1.815, allocations: 20.66 kB / 0.6966 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/1.817, allocations: 4.028 MB / 0.7005 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.817, allocations: 2.844 kB / 0.7005 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/1.818, allocations: 1.068 MB / 0.7016 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/1.819, allocations: 207.1 kB / 0.7018 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/1.819, allocations: 18.83 kB / 0.7018 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/1.819, allocations: 29.91 kB / 0.7018 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/1.819, allocations: 49.95 kB / 0.7019 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/1.819, allocations: 19.67 kB / 0.7019 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002488/1.819, allocations: 305.7 kB / 0.7022 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.819, allocations: 1.219 kB / 0.7022 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002493/1.822, allocations: 1.315 MB / 0.7035 GB, free: 222.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (60): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004202/1.826, allocations: 1.771 MB / 0.7052 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00125/1.827, allocations: 0.9826 MB / 0.7061 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.827, allocations: 0 / 0.7061 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007887/1.828, allocations: 0.5548 MB / 0.7067 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.829, allocations: 300 kB / 0.707 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/1.831, allocations: 1.804 MB / 0.7087 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/1.831, allocations: 0.9862 MB / 0.7097 GB, free: 219.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/1.831, allocations: 41.66 kB / 0.7097 GB, free: 219.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/1.831, allocations: 0 / 0.7097 GB, free: 219.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.03569/1.867, allocations: 44.96 MB / 0.7536 GB, free: 192.2 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3CalcHelperMain.o] Error 1