Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007416/0.007416, allocations: 100.2 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 190.2 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7074/0.7074, allocations: 132.2 MB / 422.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.52 kB / 0.5017 GB, free: 4.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4444, allocations: 80.2 MB / 0.58 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1683/0.6127, allocations: 134.1 MB / 0.7109 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03142/0.6442, allocations: 24.64 MB / 0.735 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.6445, allocations: 0 / 0.735 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.6448, allocations: 35.8 kB / 0.735 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.6452, allocations: 87.48 kB / 0.7351 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01708/0.6623, allocations: 5.298 MB / 0.7403 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.6628, allocations: 303.8 kB / 0.7406 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.6628, allocations: 13.55 kB / 0.7406 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.6631, allocations: 135.4 kB / 0.7407 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.6633, allocations: 91.66 kB / 0.7408 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.6633, allocations: 8 kB / 0.7408 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02038/0.6837, allocations: 10.86 MB / 0.7514 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.6839, allocations: 31.89 kB / 0.7514 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.684, allocations: 75.67 kB / 0.7515 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008704/0.6927, allocations: 4.144 MB / 0.7556 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6928, allocations: 0 / 0.7556 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6928, allocations: 0 / 0.7556 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.6928, allocations: 0 / 0.7556 GB, free: 13.51 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003733/0.6965, allocations: 1.185 MB / 0.7567 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.6966, allocations: 8.031 kB / 0.7567 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.6976, allocations: 84.67 kB / 0.7568 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.6979, allocations: 232 kB / 0.757 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.6979, allocations: 16.12 kB / 0.757 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.698, allocations: 12 kB / 0.757 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.6991, allocations: 456.5 kB / 0.7575 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.6991, allocations: 3.984 kB / 0.7575 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.6992, allocations: 4 kB / 0.7575 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.6992, allocations: 4 kB / 0.7575 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.7004, allocations: 0.6008 MB / 0.7581 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.7014, allocations: 0.8784 MB / 0.7589 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007991/0.7022, allocations: 247.8 kB / 0.7592 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.7024, allocations: 76.83 kB / 0.7593 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08106/0.7834, allocations: 35.06 MB / 0.7935 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.7835, allocations: 34.56 kB / 0.7935 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.7835, allocations: 0 / 0.7935 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001661/0.7852, allocations: 415 kB / 0.7939 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.7852, allocations: 55.41 kB / 0.794 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.7854, allocations: 144.2 kB / 0.7941 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.7854, allocations: 33.7 kB / 0.7941 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.7855, allocations: 104.5 kB / 0.7942 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.7855, allocations: 82.75 kB / 0.7943 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.7857, allocations: 81.66 kB / 0.7944 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7858, allocations: 334.7 kB / 0.7947 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.786, allocations: 79.95 kB / 0.7948 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.7862, allocations: 126.6 kB / 0.7949 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.7866, allocations: 228.2 kB / 0.7951 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7866, allocations: 0 / 0.7951 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000678/0.7873, allocations: 293.2 kB / 0.7954 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.7873, allocations: 12.14 kB / 0.7954 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7874, allocations: 4 kB / 0.7954 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.7874, allocations: 4 kB / 0.7954 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.7877, allocations: 79.88 kB / 0.7955 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.7877, allocations: 0 / 0.7955 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.7879, allocations: 27.69 kB / 0.7955 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.7879, allocations: 27.98 kB / 0.7956 GB, free: 1.145 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.788, allocations: 125.8 kB / 0.7957 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.7882, allocations: 15.91 kB / 0.7957 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.7905, allocations: 2.346 MB / 0.798 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.7905, allocations: 19.97 kB / 0.798 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7905, allocations: 0 / 0.798 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7905, allocations: 7.875 kB / 0.798 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.7936, allocations: 3.423 MB / 0.8014 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.7936, allocations: 0 / 0.8014 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.7939, allocations: 55.95 kB / 0.8014 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.7939, allocations: 0 / 0.8014 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.7939, allocations: 15.92 kB / 0.8014 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.7939, allocations: 4 kB / 0.8014 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7939, allocations: 0 / 0.8014 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.7947, allocations: 0.5456 MB / 0.802 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.7948, allocations: 140.6 kB / 0.8021 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.7948, allocations: 11.94 kB / 0.8021 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.7951, allocations: 15.89 kB / 0.8021 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.7951, allocations: 19.98 kB / 0.8021 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.7951, allocations: 19.98 kB / 0.8022 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.078e-05/0.7952, allocations: 105.1 kB / 0.8023 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7952, allocations: 0 / 0.8023 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004354/0.7996, allocations: 1.628 MB / 0.8038 GB, free: 8.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007316/0.8069, allocations: 1.898 MB / 0.8057 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006911/0.8076, allocations: 318.2 kB / 0.806 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.8076, allocations: 0 / 0.806 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.8079, allocations: 245.4 kB / 0.8062 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.8085, allocations: 64.25 kB / 0.8063 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.8096, allocations: 0.7807 MB / 0.8071 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.81, allocations: 0.7699 MB / 0.8078 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.8101, allocations: 51.41 kB / 0.8079 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.8101, allocations: 0 / 0.8079 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of Templates: time 0.3552/1.165, allocations: 31.48 MB / 0.8386 GB, free: 204.2 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.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 OMCppIDEAS_IDEAS.Media.Examples.SteamPropertiesCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Examples.SteamPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Examples.SteamPropertiesCalcHelperMain.o] Error 1