Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 102.6 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.001404/0.001404, allocations: 172.4 kB / 16.58 MB, free: 6.398 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.58/1.58, allocations: 223.3 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.16/1.16, allocations: 143.4 MB / 435.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003713, allocations: 8 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2149, allocations: 83.41 MB / 0.598 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001482/0.2164, allocations: 0.9821 MB / 0.599 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003764/0.2202, allocations: 3.056 MB / 0.602 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.2203, allocations: 0 / 0.602 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.2203, allocations: 0 / 0.602 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-05/0.2204, allocations: 3.938 kB / 0.602 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.2208, allocations: 83.62 kB / 0.6021 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.2209, allocations: 35.91 kB / 0.6021 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.2209, allocations: 4 kB / 0.6021 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.273e-05/0.221, allocations: 19.91 kB / 0.6021 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.2211, allocations: 15.94 kB / 0.6021 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.2211, allocations: 0 / 0.6021 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.2213, allocations: 51.89 kB / 0.6022 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.2213, allocations: 11.92 kB / 0.6022 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.2213, allocations: 29.7 kB / 0.6022 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.2215, allocations: 40.23 kB / 0.6023 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2215, allocations: 0 / 0.6023 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2215, allocations: 0 / 0.6023 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2215, allocations: 0 / 0.6023 GB, free: 3.48 MB / 0.4981 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.0004274/0.2219, allocations: 339.3 kB / 0.6026 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.222, allocations: 8.031 kB / 0.6026 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2221, allocations: 7.953 kB / 0.6026 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2222, allocations: 167 kB / 0.6028 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.2223, allocations: 12 kB / 0.6028 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.2223, allocations: 4 kB / 0.6028 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2225, allocations: 61.59 kB / 0.6028 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2225, allocations: 0 / 0.6028 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2225, allocations: 0 / 0.6028 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2225, allocations: 3.938 kB / 0.6028 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.98e-05/0.2226, allocations: 23.98 kB / 0.6029 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.2228, allocations: 161.6 kB / 0.603 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.763e-05/0.2229, allocations: 54.55 kB / 0.6031 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.2229, allocations: 20.8 kB / 0.6031 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007377/0.2237, allocations: 0.5948 MB / 0.6037 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.2237, allocations: 30.56 kB / 0.6037 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.695e-06/0.2237, allocations: 3.984 kB / 0.6037 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0007174/0.2245, allocations: 306.2 kB / 0.604 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.2245, allocations: 55.41 kB / 0.6041 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2246, allocations: 101.8 kB / 0.6041 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2247, allocations: 25.7 kB / 0.6042 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.2247, allocations: 84.05 kB / 0.6043 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.2248, allocations: 27.56 kB / 0.6043 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.2248, allocations: 7.938 kB / 0.6043 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.225, allocations: 322.8 kB / 0.6046 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.225, allocations: 12 kB / 0.6046 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.2251, allocations: 57.08 kB / 0.6047 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.2251, allocations: 20 kB / 0.6047 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2251, allocations: 0 / 0.6047 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000153/0.2253, allocations: 93.55 kB / 0.6048 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.2253, allocations: 11.95 kB / 0.6048 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2254, allocations: 3.984 kB / 0.6048 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.2254, allocations: 4 kB / 0.6048 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.2255, allocations: 23.88 kB / 0.6048 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2255, allocations: 0 / 0.6048 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.2255, allocations: 4 kB / 0.6048 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2255, allocations: 8.125 kB / 0.6048 GB, free: 484 kB / 0.4981 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 (12): * Single equations (assignments): 12 * 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.0001094/0.2257, allocations: 117.8 kB / 0.6049 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.2257, allocations: 3.906 kB / 0.6049 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.2257, allocations: 11.92 kB / 0.6049 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2257, allocations: 4 kB / 0.605 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2258, allocations: 0 / 0.605 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2258, allocations: 0 / 0.605 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.226, allocations: 177.7 kB / 0.6051 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2261, allocations: 0 / 0.6051 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.2261, allocations: 19.94 kB / 0.6051 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2262, allocations: 3.984 kB / 0.6051 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2262, allocations: 4.438 kB / 0.6051 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.2262, allocations: 3.953 kB / 0.6052 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2262, allocations: 0 / 0.6052 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4087/0.6349, allocations: 158.5 kB / 0.6053 GB, free: 41.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.635, allocations: 88.84 kB / 0.6054 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.635, allocations: 0.8125 kB / 0.6054 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.6352, allocations: 5.594 kB / 0.6054 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.6352, allocations: 5.203 kB / 0.6054 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.6352, allocations: 4.375 kB / 0.6054 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.6352, allocations: 81.78 kB / 0.6055 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6353, allocations: 3.125 kB / 0.6055 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003445/0.6356, allocations: 16.3 kB / 0.6055 GB, free: 41.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.0001475/0.6358, allocations: 97.69 kB / 0.6056 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.6359, allocations: 43.52 kB / 0.6056 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6359, allocations: 2.75 kB / 0.6056 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.6359, allocations: 20.09 kB / 0.6057 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.6362, allocations: 10.5 kB / 0.6057 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.6368, allocations: 416.8 kB / 0.6061 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.6369, allocations: 0.6849 MB / 0.6067 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.637, allocations: 10.56 kB / 0.6067 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.637, allocations: 0 / 0.6067 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.002022/0.639, allocations: 0.7602 MB / 0.6075 GB, free: 39.99 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheckCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1