Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009904/0.0009908, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001215, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.522/1.522, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.12/1.12, allocations: 135.3 MB / 427 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003764, allocations: 13.14 kB / 0.5076 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2086, allocations: 82.32 MB / 0.588 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.00137/0.2101, allocations: 0.9705 MB / 0.5889 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6211/0.8312, allocations: 124.9 MB / 0.7109 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.8313, allocations: 1.031 kB / 0.7109 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.8313, allocations: 5.156 kB / 0.7109 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.8314, allocations: 6.391 kB / 0.7109 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.8329, allocations: 359 kB / 0.7113 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.833, allocations: 38.83 kB / 0.7113 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.8331, allocations: 3.75 kB / 0.7113 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.318e-05/0.8331, allocations: 22.17 kB / 0.7113 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.8332, allocations: 26.31 kB / 0.7114 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.8332, allocations: 2.25 kB / 0.7114 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.835, allocations: 0.7679 MB / 0.7121 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.835, allocations: 8.25 kB / 0.7121 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.8351, allocations: 35.17 kB / 0.7121 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.8356, allocations: 288.2 kB / 0.7124 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.8356, allocations: 0 / 0.7124 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8356, allocations: 1.188 kB / 0.7124 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.8357, allocations: 0 / 0.7124 GB, free: 1.598 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005247/0.8362, allocations: 359.3 kB / 0.7128 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.8362, allocations: 9.219 kB / 0.7128 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.8364, allocations: 12.33 kB / 0.7128 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.8365, allocations: 161.8 kB / 0.7129 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.8366, allocations: 10.64 kB / 0.713 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.8366, allocations: 4.531 kB / 0.713 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.8368, allocations: 55.77 kB / 0.713 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.8368, allocations: 0 / 0.713 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.8368, allocations: 5.656 kB / 0.713 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.8368, allocations: 0 / 0.713 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.8369, allocations: 22.97 kB / 0.713 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.8371, allocations: 170.8 kB / 0.7132 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.8373, allocations: 53.86 kB / 0.7133 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.8373, allocations: 18.88 kB / 0.7133 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/0.8479, allocations: 3.207 MB / 0.7164 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.8481, allocations: 35.22 kB / 0.7164 GB, free: 15.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 4.388e-06/0.8481, allocations: 5.281 kB / 0.7164 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03554/0.8836, allocations: 14.25 MB / 0.7304 GB, free: 10.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.8837, allocations: 55.36 kB / 0.7304 GB, free: 10.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.072e-05/0.8838, allocations: 97.86 kB / 0.7305 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.8838, allocations: 25.7 kB / 0.7305 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.8838, allocations: 84.14 kB / 0.7306 GB, free: 10.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.8839, allocations: 35.45 kB / 0.7306 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.8839, allocations: 3.938 kB / 0.7306 GB, free: 10.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8841, allocations: 318.8 kB / 0.7309 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.8841, allocations: 27.98 kB / 0.731 GB, free: 9.793 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.971e-05/0.8842, allocations: 19.98 kB / 0.731 GB, free: 9.773 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.001e-05/0.8842, allocations: 28 kB / 0.731 GB, free: 9.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.8842, allocations: 4.125 kB / 0.731 GB, free: 9.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002097/0.8844, allocations: 105.6 kB / 0.7311 GB, free: 9.633 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8845, allocations: 4 kB / 0.7311 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.8845, allocations: 0 / 0.7311 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8845, allocations: 0 / 0.7311 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.8846, allocations: 23.98 kB / 0.7311 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.8846, allocations: 0 / 0.7311 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.8847, allocations: 11.95 kB / 0.7312 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.8847, allocations: 4 kB / 0.7312 GB, free: 9.59 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.8848, allocations: 117.8 kB / 0.7313 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.8849, allocations: 7.906 kB / 0.7313 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.8851, allocations: 121.5 kB / 0.7314 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.8851, allocations: 0 / 0.7314 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8851, allocations: 3.938 kB / 0.7314 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8852, allocations: 0 / 0.7314 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.8853, allocations: 185.6 kB / 0.7316 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8853, allocations: 0 / 0.7316 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.8854, allocations: 23.98 kB / 0.7316 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.8855, allocations: 3.938 kB / 0.7316 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.8855, allocations: 4 kB / 0.7316 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.8855, allocations: 3.984 kB / 0.7316 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8855, allocations: 0 / 0.7316 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.8858, allocations: 151.6 kB / 0.7318 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.8859, allocations: 97.05 kB / 0.7319 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.8859, allocations: 3.984 kB / 0.7319 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.886, allocations: 12 kB / 0.7319 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.886, allocations: 11.92 kB / 0.7319 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.8861, allocations: 5.062 kB / 0.7319 GB, free: 8.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.8861, allocations: 79.28 kB / 0.732 GB, free: 8.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.8861, allocations: 96 / 0.732 GB, free: 8.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002549/0.8887, allocations: 0.578 MB / 0.7325 GB, free: 8.098 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002765/0.8914, allocations: 355 kB / 0.7329 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.8916, allocations: 68.41 kB / 0.7329 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8916, allocations: 0 / 0.7329 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.157e-05/0.8917, allocations: 35.92 kB / 0.733 GB, free: 7.641 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.8919, allocations: 14.3 kB / 0.733 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006347/0.8926, allocations: 433.9 kB / 0.7334 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.8928, allocations: 0.6856 MB / 0.7341 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.8929, allocations: 23.42 kB / 0.7341 GB, free: 6.449 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.8929, allocations: 4 kB / 0.7341 GB, free: 6.445 MB / 0.545 GB Notification: Performance of Templates: time 0.02737/0.9203, allocations: 14.31 MB / 0.7481 GB, free: 8.16 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheckCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheckCalcHelperMain.o] Error 1