Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009543, allocations: 103 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.001312/0.001312, allocations: 173.6 kB / 16.58 MB, free: 6.383 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.509/1.509, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.657/2.657, allocations: 390.4 MB / 0.6662 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 8 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8856/0.886, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04338/0.9294, allocations: 42.37 MB / 0.9958 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01841/0.9479, allocations: 10.8 MB / 1.006 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/0.9507, allocations: 51.69 kB / 1.006 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.9526, allocations: 0.489 MB / 1.007 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006023/0.9586, allocations: 1.764 MB / 1.009 GB, free: 8.477 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.9624, allocations: 1.122 MB / 1.01 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02528/0.9877, allocations: 24.91 MB / 1.034 GB, free: 14.38 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01002/0.9978, allocations: 6.43 MB / 1.04 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/1.01, allocations: 5.443 MB / 1.046 GB, free: 2.418 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/1.022, allocations: 5.316 MB / 1.051 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001834/1.024, allocations: 288 kB / 1.051 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006317/1.03, allocations: 1.08 MB / 1.052 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002578/1.033, allocations: 1.35 MB / 1.053 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004223/1.037, allocations: 1.588 MB / 1.055 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01412/1.051, allocations: 10.26 MB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.998e-06/1.051, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.148e-06/1.051, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0005361/1.052, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01823/1.07, allocations: 6.712 MB / 1.072 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.07, allocations: 8.031 kB / 1.072 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004967/1.075, allocations: 0.8463 MB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01646/1.091, allocations: 7.619 MB / 1.08 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004722/1.092, allocations: 415.9 kB / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/1.094, allocations: 0.5077 MB / 1.081 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/1.111, allocations: 7.64 MB / 1.088 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/1.111, allocations: 23.78 kB / 1.088 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006572/1.112, allocations: 224 kB / 1.088 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000174/1.112, allocations: 167.9 kB / 1.089 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/1.124, allocations: 6.036 MB / 1.094 GB, free: 15.8 MB / 0.8575 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.04993/1.174, allocations: 29.29 MB / 1.123 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005222/1.179, allocations: 3.384 MB / 1.126 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/1.182, allocations: 1.948 MB / 1.128 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.183, allocations: 1.01 MB / 1.129 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.251e-05/1.183, allocations: 77.06 kB / 1.129 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=253): time 5.29e-06/1.183, allocations: 0 / 1.129 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of matching and sorting (n=253): time 0.008715/1.192, allocations: 4.683 MB / 1.134 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/1.192, allocations: 81.39 kB / 1.134 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.011/1.203, allocations: 6.103 MB / 1.14 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0008601/1.204, allocations: 85.7 kB / 1.14 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.003107/1.207, allocations: 2.98 MB / 1.143 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.00162/1.209, allocations: 0.9014 MB / 1.144 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/1.209, allocations: 68 kB / 1.144 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002607/1.209, allocations: 449.2 kB / 1.144 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/1.212, allocations: 1.623 MB / 1.146 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003064/1.215, allocations: 2.666 MB / 1.149 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/1.218, allocations: 2.211 MB / 1.151 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/1.218, allocations: 12 kB / 1.151 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009229/1.227, allocations: 4.947 MB / 1.156 GB, free: 15.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.001009/1.228, allocations: 1.041 MB / 1.157 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.074e-05/1.228, allocations: 32 kB / 1.157 GB, free: 13.72 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.215e-05/1.228, allocations: 52 kB / 1.157 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/1.231, allocations: 0.8152 MB / 1.157 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009009/1.232, allocations: 1.25 MB / 1.159 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005733/1.238, allocations: 0.6202 MB / 1.159 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004691/1.238, allocations: 160 kB / 1.159 GB, free: 10.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.238, allocations: 0 / 1.159 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007863/1.246, allocations: 4.427 MB / 1.164 GB, free: 6.309 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.099e-05/1.246, allocations: 32.94 kB / 1.164 GB, free: 6.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.661e-05/1.246, allocations: 52 kB / 1.164 GB, free: 6.227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/1.249, allocations: 0.7878 MB / 1.165 GB, free: 5.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.773e-05/1.249, allocations: 75.72 kB / 1.165 GB, free: 5.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006327/1.256, allocations: 0.5468 MB / 1.165 GB, free: 4.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004086/1.256, allocations: 160 kB / 1.165 GB, free: 4.656 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005896/1.262, allocations: 2.529 MB / 1.168 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002206/1.264, allocations: 0.5597 MB / 1.168 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006957/1.271, allocations: 3.898 MB / 1.172 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/1.271, allocations: 28 kB / 1.172 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.271, allocations: 0 / 1.172 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004218/1.275, allocations: 2.994 MB / 1.175 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.295, allocations: 9.745 MB / 1.185 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/1.295, allocations: 4 kB / 1.185 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/1.298, allocations: 0.5931 MB / 1.185 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.94e-05/1.298, allocations: 8 kB / 1.185 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/1.298, allocations: 83.89 kB / 1.185 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008513/1.299, allocations: 1.188 MB / 1.186 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.299, allocations: 4 kB / 1.186 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009823/1.309, allocations: 5.646 MB / 1.192 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00432/1.313, allocations: 1.313 MB / 1.193 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/1.315, allocations: 67.92 kB / 1.193 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004624/1.32, allocations: 378.9 kB / 1.194 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/1.32, allocations: 157.8 kB / 1.194 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000371/1.32, allocations: 143.8 kB / 1.194 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.008584/1.329, allocations: 4.304 MB / 1.198 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.329, allocations: 0 / 1.198 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.01747/1.346, allocations: 3.242 MB / 1.201 GB, free: 15.32 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * 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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002051/1.348, allocations: 477.5 kB / 1.202 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01297/1.361, allocations: 5.996 MB / 1.208 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.202e-05/1.362, allocations: 6 kB / 1.208 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003506/1.365, allocations: 1.588 MB / 1.209 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02319/1.388, allocations: 3.955 MB / 1.213 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/1.423, allocations: 15.99 MB / 1.229 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005373/1.428, allocations: 4.529 MB / 1.233 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002353/1.431, allocations: 499.2 kB / 1.234 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of SimCode: time 2.675e-06/1.431, allocations: 0 / 1.234 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.9453/2.376, allocations: 191.4 MB / 1.42 GB, free: 105.9 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.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/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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PipeCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.PipeCalcHelperMain.o] Error 1