Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(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_latest_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_latest_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.00103/0.00103, allocations: 99.36 kB / 15.71 MB, free: 452 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.001506/0.001506, allocations: 179.9 kB / 16.58 MB, free: 6.879 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.425/1.425, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.789/2.789, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 16.22 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8717/0.8722, allocations: 153.6 MB / 1.022 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04512/0.9174, allocations: 42.39 MB / 1.063 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01788/0.9353, allocations: 10.8 MB / 1.074 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.9379, allocations: 51.69 kB / 1.074 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.94, allocations: 492.8 kB / 1.074 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.9463, allocations: 1.771 MB / 1.076 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.9503, allocations: 1.125 MB / 1.077 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02816/0.9784, allocations: 24.92 MB / 1.101 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/0.9907, allocations: 6.43 MB / 1.108 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0169/1.008, allocations: 5.439 MB / 1.113 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01374/1.021, allocations: 5.312 MB / 1.118 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002873/1.024, allocations: 288 kB / 1.118 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008968/1.033, allocations: 1.084 MB / 1.119 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004618/1.038, allocations: 1.35 MB / 1.121 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005352/1.043, allocations: 1.58 MB / 1.122 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0162/1.06, allocations: 10.26 MB / 1.132 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/1.06, allocations: 0 / 1.132 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.942e-06/1.06, allocations: 3.938 kB / 1.132 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0005219/1.06, allocations: 3.938 kB / 1.132 GB, free: 15.46 MB / 0.8887 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.01962/1.08, allocations: 6.716 MB / 1.139 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.08, allocations: 11.98 kB / 1.139 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005796/1.086, allocations: 0.854 MB / 1.14 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01803/1.104, allocations: 7.623 MB / 1.147 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000653/1.105, allocations: 411.9 kB / 1.148 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/1.107, allocations: 0.5115 MB / 1.148 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/1.127, allocations: 7.644 MB / 1.156 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/1.127, allocations: 19.88 kB / 1.156 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008169/1.128, allocations: 224 kB / 1.156 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/1.129, allocations: 167.9 kB / 1.156 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/1.142, allocations: 6.036 MB / 1.162 GB, free: 0.7734 MB / 0.9044 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.0496/1.192, allocations: 29.28 MB / 1.19 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008341/1.2, allocations: 3.38 MB / 1.194 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004222/1.204, allocations: 1.952 MB / 1.196 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/1.206, allocations: 1.006 MB / 1.197 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/1.206, allocations: 73.12 kB / 1.197 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=253): time 7.645e-06/1.206, allocations: 0 / 1.197 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=253): time 0.01339/1.22, allocations: 4.687 MB / 1.201 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/1.22, allocations: 81.41 kB / 1.201 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01879/1.239, allocations: 6.1 MB / 1.207 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.001022/1.24, allocations: 77.7 kB / 1.207 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.003969/1.244, allocations: 2.992 MB / 1.21 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00163/1.245, allocations: 0.9012 MB / 1.211 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/1.245, allocations: 76 kB / 1.211 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002548/1.246, allocations: 457.1 kB / 1.212 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002557/1.248, allocations: 1.619 MB / 1.213 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003323/1.252, allocations: 2.67 MB / 1.216 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003284/1.255, allocations: 2.211 MB / 1.218 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/1.255, allocations: 8 kB / 1.218 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009081/1.264, allocations: 4.939 MB / 1.223 GB, free: 216 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009386/1.265, allocations: 1.028 MB / 1.224 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/1.265, allocations: 36 kB / 1.224 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.638e-05/1.265, allocations: 56 kB / 1.224 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/1.268, allocations: 0.8072 MB / 1.225 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009082/1.269, allocations: 1.254 MB / 1.226 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006169/1.275, allocations: 0.6163 MB / 1.227 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005857/1.276, allocations: 163.9 kB / 1.227 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.276, allocations: 4 kB / 1.227 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007415/1.284, allocations: 4.424 MB / 1.231 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.267e-05/1.284, allocations: 28 kB / 1.231 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.538e-05/1.284, allocations: 60.86 kB / 1.231 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/1.286, allocations: 0.7839 MB / 1.232 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.541e-05/1.286, allocations: 71.8 kB / 1.232 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005533/1.292, allocations: 0.5546 MB / 1.232 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004722/1.292, allocations: 156 kB / 1.233 GB, free: 5.641 MB / 0.9825 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.005773/1.298, allocations: 2.525 MB / 1.235 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002538/1.301, allocations: 0.5597 MB / 1.236 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007763/1.309, allocations: 3.91 MB / 1.239 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/1.309, allocations: 24 kB / 1.24 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.309, allocations: 0 / 1.24 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004451/1.313, allocations: 2.994 MB / 1.242 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0224/1.335, allocations: 9.749 MB / 1.252 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/1.336, allocations: 4 kB / 1.252 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/1.338, allocations: 0.5968 MB / 1.253 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.351e-05/1.338, allocations: 8 kB / 1.253 GB, free: 1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/1.338, allocations: 83.94 kB / 1.253 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7972/2.135, allocations: 1.176 MB / 1.254 GB, free: 208.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/2.135, allocations: 1.969 kB / 1.254 GB, free: 208.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/2.148, allocations: 5.643 MB / 1.259 GB, free: 207.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004545/2.152, allocations: 1.319 MB / 1.261 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001898/2.154, allocations: 66.47 kB / 1.261 GB, free: 207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005095/2.159, allocations: 382.8 kB / 1.261 GB, free: 207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003851/2.16, allocations: 154.1 kB / 1.261 GB, free: 207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000503/2.16, allocations: 145 kB / 1.261 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.01078/2.171, allocations: 4.301 MB / 1.265 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.51e-07/2.171, allocations: 0 / 1.265 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01342/2.184, allocations: 3.24 MB / 1.269 GB, free: 205.1 MB / 0.9981 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.002109/2.187, allocations: 471.9 kB / 1.269 GB, free: 205 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01305/2.2, allocations: 6.006 MB / 1.275 GB, free: 203.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/2.2, allocations: 4.531 kB / 1.275 GB, free: 203.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/2.202, allocations: 1.588 MB / 1.277 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01891/2.221, allocations: 3.957 MB / 1.28 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/2.246, allocations: 15.99 MB / 1.296 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003614/2.249, allocations: 4.532 MB / 1.3 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/2.251, allocations: 495.2 kB / 1.301 GB, free: 188 MB / 0.9981 GB Notification: Performance of SimCode: time 1.463e-06/2.251, allocations: 4 kB / 1.301 GB, free: 188 MB / 0.9981 GB Notification: Performance of Templates: time 0.2198/2.471, allocations: 191.4 MB / 1.488 GB, free: 13.09 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PipeCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.PipeCalcHelperMain.o] Error 1