Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7758/0.7758, allocations: 150.9 MB / 166.6 MB, free: 14.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002775, allocations: 11.98 kB / 204.6 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1756, allocations: 31.32 MB / 236 MB, free: 5.461 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.Examples.SimpleExamples.TestSteamEngine): time 1.615/1.791, allocations: 292.9 MB / 0.5164 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03794/1.828, allocations: 32.84 MB / 0.5485 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/1.829, allocations: 0 / 0.5485 GB, free: 12.99 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/SteamEngine.mo:35:3-37:17:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/SteamEngine.mo:38:3-39:44:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005244/1.829, allocations: 152.3 kB / 0.5486 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/1.83, allocations: 111.2 kB / 0.5487 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01844/1.848, allocations: 6.824 MB / 0.5554 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005175/1.848, allocations: 418 kB / 0.5558 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/1.849, allocations: 110.4 kB / 0.5559 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/1.849, allocations: 155.2 kB / 0.5561 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/1.849, allocations: 131.3 kB / 0.5562 GB, free: 5.137 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/1.849, allocations: 12 kB / 0.5562 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03364/1.883, allocations: 20.3 MB / 0.576 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/1.883, allocations: 39.8 kB / 0.5761 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000357/1.883, allocations: 163.1 kB / 0.5762 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/1.895, allocations: 5.606 MB / 0.5817 GB, free: 10.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.895, allocations: 0 / 0.5817 GB, free: 10.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/1.895, allocations: 0 / 0.5817 GB, free: 10.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/1.895, allocations: 0 / 0.5817 GB, free: 10.98 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.004031/1.899, allocations: 1.412 MB / 0.5831 GB, free: 9.523 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.899, allocations: 8.031 kB / 0.5831 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/1.899, allocations: 36.47 kB / 0.5831 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/1.9, allocations: 245.8 kB / 0.5833 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/1.9, allocations: 20.56 kB / 0.5834 GB, free: 9.184 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/1.9, allocations: 20 kB / 0.5834 GB, free: 9.164 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/1.9, allocations: 345.1 kB / 0.5837 GB, free: 8.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.9, allocations: 3.938 kB / 0.5837 GB, free: 8.793 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/1.9, allocations: 16 kB / 0.5837 GB, free: 8.777 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/1.9, allocations: 15.98 kB / 0.5837 GB, free: 8.762 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/1.9, allocations: 212.8 kB / 0.584 GB, free: 8.555 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.01801/1.918, allocations: 9.882 MB / 0.5936 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/1.919, allocations: 148.8 kB / 0.5937 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/1.919, allocations: 117.7 kB / 0.5939 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1076/2.026, allocations: 51.56 MB / 0.6442 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/2.027, allocations: 38.53 kB / 0.6442 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=52): time 2.274e-06/2.027, allocations: 0 / 0.6442 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.001134/2.028, allocations: 0.5172 MB / 0.6447 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/2.028, allocations: 55.34 kB / 0.6448 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/2.028, allocations: 233 kB / 0.645 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/2.028, allocations: 25.7 kB / 0.645 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/2.028, allocations: 152.9 kB / 0.6452 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/2.028, allocations: 165.4 kB / 0.6454 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-05/2.028, allocations: 61.69 kB / 0.6454 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001424/2.029, allocations: 338.8 kB / 0.6457 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/2.029, allocations: 80.53 kB / 0.6458 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/2.029, allocations: 145.3 kB / 0.6459 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/2.029, allocations: 267.7 kB / 0.6462 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/2.029, allocations: 3.938 kB / 0.6462 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005237/2.03, allocations: 347.2 kB / 0.6465 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/2.03, allocations: 8.188 kB / 0.6465 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/2.03, allocations: 0 / 0.6465 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/2.03, allocations: 108.8 kB / 0.6467 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/2.03, allocations: 8 kB / 0.6467 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004709/2.031, allocations: 0.6185 MB / 0.6473 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/2.031, allocations: 31.53 kB / 0.6473 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/2.031, allocations: 8.062 kB / 0.6473 GB, free: 1.562 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,steamEngine1.C2.b,steamEngine1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001574/2.031, allocations: 147.7 kB / 0.6474 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/2.031, allocations: 31.56 kB / 0.6475 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008785/2.032, allocations: 0.804 MB / 0.6483 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000485/2.032, allocations: 384.3 kB / 0.6486 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/2.032, allocations: 3.984 kB / 0.6486 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/2.032, allocations: 0 / 0.6486 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/2.034, allocations: 1.481 MB / 0.6501 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/2.034, allocations: 8.031 kB / 0.6501 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/2.034, allocations: 67.91 kB / 0.6501 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/2.035, allocations: 124.8 kB / 0.6503 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/2.035, allocations: 16 kB / 0.6503 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004475/2.035, allocations: 0.6264 MB / 0.6509 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/2.035, allocations: 12 kB / 0.6509 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/2.036, allocations: 0.6365 MB / 0.6515 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/2.036, allocations: 132.4 kB / 0.6517 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/2.036, allocations: 23.84 kB / 0.6517 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/2.036, allocations: 23.94 kB / 0.6517 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/2.036, allocations: 35.84 kB / 0.6517 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/2.036, allocations: 23.98 kB / 0.6518 GB, free: 12.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000296/2.037, allocations: 287 kB / 0.652 GB, free: 12.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/2.037, allocations: 4 kB / 0.652 GB, free: 12.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00355/2.04, allocations: 1.335 MB / 0.6533 GB, free: 11.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.006709/2.047, allocations: 1.626 MB / 0.6549 GB, free: 9.453 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006928/2.048, allocations: 476.9 kB / 0.6554 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/2.048, allocations: 4 kB / 0.6554 GB, free: 8.957 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/2.048, allocations: 193.2 kB / 0.6556 GB, free: 8.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/2.049, allocations: 215.5 kB / 0.6558 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/2.051, allocations: 1.125 MB / 0.6569 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/2.051, allocations: 0.8401 MB / 0.6577 GB, free: 6.469 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/2.051, allocations: 43.38 kB / 0.6577 GB, free: 6.426 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/2.051, allocations: 3.938 kB / 0.6577 GB, free: 6.422 MB / 0.545 GB Notification: Performance of Templates: time 0.0406/2.092, allocations: 29.84 MB / 0.6869 GB, free: 8.574 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.makefile make -j1 -f ThermoSysPro_ThermoSysPro.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngineCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngineCalcHelperMain.o] Error 1