Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.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.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8166/0.8166, allocations: 150.8 MB / 166.6 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 15.98 kB / 204.7 MB, free: 10.15 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1746, allocations: 31.33 MB / 236 MB, free: 5.434 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.TestSteamEngine): time 1.659/1.834, allocations: 293.1 MB / 0.5167 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2174/2.051, allocations: 198.1 MB / 0.7101 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003933/2.052, allocations: 8 kB / 0.7101 GB, free: 8.633 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/SteamEngine.mo:41:3-42:53: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/Machines/SteamEngine.mo:43:3-44:51:writable] Warning: Connector C2 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0005215/2.052, allocations: 143.2 kB / 0.7103 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000325/2.053, allocations: 147 kB / 0.7104 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.3568/2.41, allocations: 10.78 MB / 0.7209 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000953/2.411, allocations: 491.8 kB / 0.7214 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/2.411, allocations: 208.2 kB / 0.7216 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/2.412, allocations: 194.3 kB / 0.7218 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004012/2.412, allocations: 200.4 kB / 0.722 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.487e-05/2.412, allocations: 24.84 kB / 0.722 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04306/2.455, allocations: 25.58 MB / 0.747 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/2.455, allocations: 75.5 kB / 0.7471 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004225/2.456, allocations: 212.7 kB / 0.7473 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01836/2.474, allocations: 8.406 MB / 0.7555 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/2.474, allocations: 2.312 kB / 0.7555 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/2.474, allocations: 2.812 kB / 0.7555 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.455e-06/2.474, allocations: 2.219 kB / 0.7555 GB, free: 8.086 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.00829/2.482, allocations: 2.112 MB / 0.7575 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/2.483, allocations: 8.438 kB / 0.7575 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/2.483, allocations: 52.44 kB / 0.7576 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/2.483, allocations: 308.5 kB / 0.7579 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/2.483, allocations: 25.06 kB / 0.7579 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/2.483, allocations: 37.94 kB / 0.758 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/2.484, allocations: 432.7 kB / 0.7584 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/2.484, allocations: 1.062 kB / 0.7584 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/2.484, allocations: 16.28 kB / 0.7584 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/2.484, allocations: 14.19 kB / 0.7584 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/2.484, allocations: 273.6 kB / 0.7587 GB, free: 6.289 MB / 0.5919 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.06735/2.551, allocations: 32.85 MB / 0.7907 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/2.552, allocations: 115.6 kB / 0.7908 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/2.552, allocations: 87.86 kB / 0.7909 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.132/2.684, allocations: 80.44 MB / 0.8695 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/2.684, allocations: 30.56 kB / 0.8695 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=34): time 2.815e-06/2.684, allocations: 0 / 0.8695 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of matching and sorting (n=34): time 0.001016/2.685, allocations: 424.1 kB / 0.8699 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/2.685, allocations: 51.41 kB / 0.87 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/2.685, allocations: 305.3 kB / 0.8703 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/2.685, allocations: 25.7 kB / 0.8703 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/2.686, allocations: 233.9 kB / 0.8705 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.813e-05/2.686, allocations: 119.9 kB / 0.8706 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/2.686, allocations: 70.59 kB / 0.8707 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001348/2.686, allocations: 340.8 kB / 0.871 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/2.686, allocations: 79.47 kB / 0.8711 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/2.686, allocations: 189.4 kB / 0.8713 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/2.687, allocations: 303.6 kB / 0.8716 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.687, allocations: 0 / 0.8716 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006516/2.687, allocations: 378.8 kB / 0.8719 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/2.687, allocations: 9.719 kB / 0.8719 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/2.687, allocations: 7.984 kB / 0.8719 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/2.688, allocations: 108 kB / 0.872 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/2.688, allocations: 34.8 kB / 0.8721 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004913/2.688, allocations: 0.614 MB / 0.8727 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/2.689, allocations: 37.47 kB / 0.8727 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/2.689, allocations: 14.81 kB / 0.8727 GB, free: 1.188 MB / 0.7012 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 (sourceP.fluid1,sourceP.C.ftype,steamEngine1.fluid,puitsP.fluid,steamEngine1.C2.diff_on_1,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * 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: 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.0002066/2.689, allocations: 162.9 kB / 0.8729 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/2.689, allocations: 31.62 kB / 0.8729 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007076/2.69, allocations: 0.5566 MB / 0.8735 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004777/2.69, allocations: 398.8 kB / 0.8738 GB, free: 384 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/2.69, allocations: 11.92 kB / 0.8738 GB, free: 372 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/2.69, allocations: 4 kB / 0.8739 GB, free: 368 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/2.692, allocations: 1.174 MB / 0.875 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/2.692, allocations: 8.062 kB / 0.875 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/2.692, allocations: 46.23 kB / 0.875 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/2.692, allocations: 121.9 kB / 0.8752 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/2.692, allocations: 7.188 kB / 0.8752 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004151/2.692, allocations: 0.6312 MB / 0.8758 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/2.692, allocations: 0 / 0.8758 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/2.693, allocations: 0.5396 MB / 0.8763 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/2.693, allocations: 142.5 kB / 0.8765 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/2.693, allocations: 3.812 kB / 0.8765 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/2.693, allocations: 10.88 kB / 0.8765 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/2.693, allocations: 23.97 kB / 0.8765 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/2.693, allocations: 12.34 kB / 0.8765 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002201/2.694, allocations: 213.4 kB / 0.8767 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/2.694, allocations: 0 / 0.8767 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007082/2.701, allocations: 2.037 MB / 0.8787 GB, free: 11.97 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.01227/2.713, allocations: 3.06 MB / 0.8817 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008372/2.714, allocations: 436.2 kB / 0.8821 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/2.714, allocations: 0 / 0.8821 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/2.714, allocations: 192.5 kB / 0.8823 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/2.715, allocations: 208.3 kB / 0.8825 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/2.717, allocations: 1.081 MB / 0.8835 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/2.717, allocations: 0.8479 MB / 0.8844 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/2.717, allocations: 44.62 kB / 0.8844 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/2.717, allocations: 0 / 0.8844 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of Templates: time 0.05829/2.776, allocations: 41.36 MB / 0.9248 GB, free: 13.74 MB / 0.7637 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.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.TestSteamEngineCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngineCalcHelperMain.o] Error 1