Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.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.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8564/0.8564, allocations: 150.8 MB / 166.6 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 15.97 kB / 204.7 MB, free: 10.13 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2102, allocations: 31.33 MB / 236 MB, free: 5.453 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.Book.SimpleExamples.PressureLoss.TestControlValve): time 1.782/1.993, allocations: 292.7 MB / 0.5163 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2065/2.199, allocations: 188.7 MB / 0.7006 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/2.199, allocations: 4 kB / 0.7006 GB, free: 476 kB / 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/ControlValve.mo:44:3-45:68: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/ControlValve.mo:46:3-47:66: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.0002975/2.2, allocations: 83.62 kB / 0.7006 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003133/2.2, allocations: 151.1 kB / 0.7008 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4488/2.649, allocations: 8.74 MB / 0.7093 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006717/2.65, allocations: 415.5 kB / 0.7097 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/2.65, allocations: 209.8 kB / 0.7099 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/2.65, allocations: 165.2 kB / 0.7101 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/2.65, allocations: 219.3 kB / 0.7103 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/2.65, allocations: 25.44 kB / 0.7103 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03819/2.689, allocations: 19.98 MB / 0.7298 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/2.689, allocations: 97.58 kB / 0.7299 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004135/2.689, allocations: 200.4 kB / 0.7301 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01834/2.708, allocations: 6.821 MB / 0.7368 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/2.708, allocations: 2.812 kB / 0.7368 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.017e-06/2.708, allocations: 1.781 kB / 0.7368 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.172e-05/2.708, allocations: 0 / 0.7368 GB, free: 2.41 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.008227/2.716, allocations: 1.833 MB / 0.7386 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/2.716, allocations: 8.094 kB / 0.7386 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/2.716, allocations: 59.47 kB / 0.7386 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/2.717, allocations: 339.2 kB / 0.739 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/2.717, allocations: 33.42 kB / 0.739 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/2.717, allocations: 31.22 kB / 0.739 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/2.717, allocations: 380.4 kB / 0.7394 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/2.717, allocations: 2.906 kB / 0.7394 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/2.717, allocations: 18.22 kB / 0.7394 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/2.718, allocations: 10.12 kB / 0.7394 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004461/2.718, allocations: 264.8 kB / 0.7397 GB, free: 0.7383 MB / 0.5762 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.008522/2.726, allocations: 6.214 MB / 0.7457 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/2.727, allocations: 115.2 kB / 0.7458 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/2.727, allocations: 47.33 kB / 0.7459 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2122/2.939, allocations: 118.3 MB / 0.8614 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/2.939, allocations: 34.56 kB / 0.8614 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 3.166e-06/2.939, allocations: 0 / 0.8614 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of matching and sorting (n=7): time 0.0009216/2.94, allocations: 315.6 kB / 0.8617 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/2.94, allocations: 51.41 kB / 0.8618 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/2.941, allocations: 421.5 kB / 0.8622 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/2.941, allocations: 26.91 kB / 0.8622 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/2.941, allocations: 262.2 kB / 0.8625 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/2.941, allocations: 30.52 kB / 0.8625 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/2.941, allocations: 51.61 kB / 0.8625 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001326/2.941, allocations: 356.4 kB / 0.8629 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/2.941, allocations: 64.5 kB / 0.8629 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/2.941, allocations: 162.3 kB / 0.8631 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/2.942, allocations: 229.3 kB / 0.8633 GB, free: 0.8594 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/2.942, allocations: 6.906 kB / 0.8633 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00057/2.942, allocations: 308.9 kB / 0.8636 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/2.942, allocations: 8 kB / 0.8636 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/2.942, allocations: 4.438 kB / 0.8636 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008242/2.943, allocations: 111.7 kB / 0.8637 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/2.943, allocations: 38.89 kB / 0.8638 GB, free: 476 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004921/2.944, allocations: 0.5718 MB / 0.8643 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/2.944, allocations: 27.69 kB / 0.8644 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/2.944, allocations: 16.5 kB / 0.8644 GB, free: 15.86 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,ControlValve.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,ControlValve.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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.0001849/2.944, allocations: 169.4 kB / 0.8645 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/2.944, allocations: 35.61 kB / 0.8646 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/2.945, allocations: 218.9 kB / 0.8648 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/2.945, allocations: 4 kB / 0.8648 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.945, allocations: 4 kB / 0.8648 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/2.945, allocations: 0 / 0.8648 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/2.945, allocations: 360.8 kB / 0.8651 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/2.945, allocations: 0 / 0.8651 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/2.945, allocations: 4 kB / 0.8651 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/2.946, allocations: 80.72 kB / 0.8652 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/2.946, allocations: 8 kB / 0.8652 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004136/2.946, allocations: 0.5639 MB / 0.8658 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.946, allocations: 3.938 kB / 0.8658 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/2.946, allocations: 211.1 kB / 0.866 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.464e-05/2.947, allocations: 100.7 kB / 0.8661 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/2.947, allocations: 11.11 kB / 0.8661 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/2.947, allocations: 3.938 kB / 0.8661 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/2.947, allocations: 4 kB / 0.8661 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/2.947, allocations: 4 kB / 0.8661 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003057/2.947, allocations: 307.6 kB / 0.8664 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/2.947, allocations: 0 / 0.8664 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005225/2.952, allocations: 1.464 MB / 0.8678 GB, free: 12.55 MB / 0.7169 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.007166/2.959, allocations: 2.286 MB / 0.87 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005565/2.96, allocations: 167.4 kB / 0.8702 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/2.96, allocations: 1.203 kB / 0.8702 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/2.96, allocations: 62.22 kB / 0.8703 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/2.961, allocations: 72.95 kB / 0.8703 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/2.962, allocations: 0.761 MB / 0.8711 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/2.962, allocations: 0.7981 MB / 0.8719 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/2.962, allocations: 27.44 kB / 0.8719 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/2.962, allocations: 0 / 0.8719 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of Templates: time 0.04832/3.011, allocations: 29.95 MB / 0.9011 GB, free: 10.96 MB / 0.7481 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.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.Book.SimpleExamples.PressureLoss.TestControlValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValveCalcHelperMain.o] Error 1