Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8716/0.8716, allocations: 150.8 MB / 166.6 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004053, allocations: 11.98 kB / 204.7 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 31.33 MB / 236 MB, free: 5.469 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm): time 1.852/2.072, allocations: 292.7 MB / 0.5163 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7045/2.776, allocations: 191.1 MB / 0.7029 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000479/2.777, allocations: 7.812 kB / 0.7029 GB, free: 3.734 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/Diaphragm.mo:34:3-35:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/Diaphragm.mo:36:3-37:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001881/2.777, allocations: 28.53 kB / 0.7029 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003978/2.777, allocations: 96.19 kB / 0.703 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03636/2.814, allocations: 9.329 MB / 0.7121 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007495/2.814, allocations: 381.2 kB / 0.7125 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/2.815, allocations: 186.1 kB / 0.7127 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/2.815, allocations: 150 kB / 0.7128 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/2.815, allocations: 172.1 kB / 0.713 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/2.815, allocations: 27.19 kB / 0.713 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05662/2.872, allocations: 21.01 MB / 0.7335 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002546/2.872, allocations: 71.97 kB / 0.7336 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004264/2.873, allocations: 174.3 kB / 0.7338 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02017/2.893, allocations: 7.21 MB / 0.7408 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/2.893, allocations: 1.203 kB / 0.7408 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.186e-06/2.893, allocations: 0 / 0.7408 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.943e-05/2.893, allocations: 0 / 0.7408 GB, free: 1.281 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.008055/2.901, allocations: 1.866 MB / 0.7426 GB, free: 72 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/2.901, allocations: 6.875 kB / 0.7426 GB, free: 72 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/2.901, allocations: 48.16 kB / 0.7427 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/2.902, allocations: 295 kB / 0.743 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/2.902, allocations: 32.22 kB / 0.743 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/2.902, allocations: 35.55 kB / 0.743 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/2.902, allocations: 380.4 kB / 0.7434 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/2.902, allocations: 0 / 0.7434 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/2.902, allocations: 19.06 kB / 0.7434 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/2.902, allocations: 8.75 kB / 0.7434 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/2.903, allocations: 246.2 kB / 0.7436 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008408/2.911, allocations: 6.167 MB / 0.7497 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/2.912, allocations: 77.95 kB / 0.7497 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/2.912, allocations: 30.61 kB / 0.7498 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3051/3.217, allocations: 154.7 MB / 0.9009 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/3.217, allocations: 38.62 kB / 0.9009 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 2.986e-06/3.217, allocations: 0 / 0.9009 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0009157/3.218, allocations: 248.1 kB / 0.9011 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/3.218, allocations: 77.11 kB / 0.9012 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/3.218, allocations: 298.3 kB / 0.9015 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/3.218, allocations: 25.7 kB / 0.9015 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/3.218, allocations: 232.9 kB / 0.9017 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/3.219, allocations: 31.17 kB / 0.9018 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/3.219, allocations: 55.25 kB / 0.9018 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001288/3.219, allocations: 337.4 kB / 0.9022 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/3.219, allocations: 46.38 kB / 0.9022 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/3.219, allocations: 162.1 kB / 0.9024 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/3.219, allocations: 214.5 kB / 0.9026 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/3.219, allocations: 0 / 0.9026 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000604/3.22, allocations: 272.4 kB / 0.9028 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/3.22, allocations: 8 kB / 0.9028 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/3.22, allocations: 5.094 kB / 0.9028 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009826/3.221, allocations: 114.8 kB / 0.9029 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/3.221, allocations: 44.58 kB / 0.903 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005012/3.222, allocations: 0.5711 MB / 0.9035 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/3.222, allocations: 34.22 kB / 0.9036 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/3.222, allocations: 15.98 kB / 0.9036 GB, free: 6.105 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001675/3.222, allocations: 154.1 kB / 0.9037 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/3.222, allocations: 23.66 kB / 0.9038 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006198/3.223, allocations: 175 kB / 0.9039 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/3.223, allocations: 5.094 kB / 0.9039 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/3.223, allocations: 4 kB / 0.9039 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/3.223, allocations: 0 / 0.9039 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/3.223, allocations: 310.1 kB / 0.9042 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/3.223, allocations: 0 / 0.9042 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/3.223, allocations: 4 kB / 0.9042 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006914/3.224, allocations: 95.61 kB / 0.9043 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/3.224, allocations: 0 / 0.9043 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004064/3.224, allocations: 0.5679 MB / 0.9049 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/3.224, allocations: 0 / 0.9049 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/3.225, allocations: 178 kB / 0.905 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/3.225, allocations: 104.4 kB / 0.9051 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/3.225, allocations: 0 / 0.9051 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.74e-05/3.225, allocations: 7.375 kB / 0.9052 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/3.225, allocations: 7.922 kB / 0.9052 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/3.225, allocations: 4 kB / 0.9052 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000222/3.225, allocations: 208.6 kB / 0.9054 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/3.226, allocations: 0 / 0.9054 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005526/3.231, allocations: 1.607 MB / 0.9069 GB, free: 2.867 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01079/3.242, allocations: 2.553 MB / 0.9094 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005901/3.242, allocations: 135.7 kB / 0.9096 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/3.242, allocations: 256 / 0.9096 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/3.243, allocations: 41.81 kB / 0.9096 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/3.243, allocations: 65.23 kB / 0.9097 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/3.244, allocations: 0.5943 MB / 0.9102 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/3.245, allocations: 0.7608 MB / 0.911 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/3.245, allocations: 31.44 kB / 0.911 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of SimCode: time 6.11e-07/3.245, allocations: 3 kB / 0.911 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of Templates: time 0.0536/3.298, allocations: 31.21 MB / 0.9415 GB, free: 15.98 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.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.TestDiaphragmCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragmCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragmCalcHelperMain.o] Error 1