Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009052/0.0009052, allocations: 100.5 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.001423/0.001423, allocations: 178.9 kB / 16.58 MB, free: 6.422 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.53/1.53, 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 9.1.2-maint.9.1.x/package.mo): time 2.659/2.659, allocations: 390.5 MB / 0.6662 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 12 kB / 0.8154 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9834/0.9838, allocations: 142.3 MB / 0.9544 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1116/1.095, allocations: 104.1 MB / 1.056 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03247/1.128, allocations: 19.07 MB / 1.075 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005474/1.133, allocations: 91.38 kB / 1.075 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004547/1.138, allocations: 0.8967 MB / 1.076 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01108/1.149, allocations: 2.876 MB / 1.078 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008969/1.158, allocations: 2.383 MB / 1.081 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01576/1.174, allocations: 8.121 MB / 1.089 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006231/1.18, allocations: 1.808 MB / 1.09 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007521/1.188, allocations: 2.24 MB / 1.093 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00528/1.193, allocations: 1.913 MB / 1.095 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001263/1.194, allocations: 92 kB / 1.095 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00634/1.201, allocations: 1.154 MB / 1.096 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/1.203, allocations: 497.7 kB / 1.096 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002391/1.205, allocations: 0.5667 MB / 1.097 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007576/1.213, allocations: 3.273 MB / 1.1 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/1.213, allocations: 0 / 1.1 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.198e-06/1.213, allocations: 7.922 kB / 1.1 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000176/1.213, allocations: 0 / 1.1 GB, free: 10.75 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.008644/1.221, allocations: 2.714 MB / 1.103 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/1.222, allocations: 8.031 kB / 1.103 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/1.223, allocations: 328.2 kB / 1.103 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004888/1.228, allocations: 2.063 MB / 1.105 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/1.228, allocations: 131 kB / 1.105 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/1.228, allocations: 167.9 kB / 1.105 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003113/1.232, allocations: 1.608 MB / 1.107 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/1.232, allocations: 0 / 1.107 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/1.232, allocations: 67.95 kB / 1.107 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/1.232, allocations: 40 kB / 1.107 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/1.234, allocations: 1.147 MB / 1.108 GB, free: 2.281 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.01563/1.25, allocations: 7.905 MB / 1.116 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008386/1.251, allocations: 485.5 kB / 1.116 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/1.251, allocations: 319 kB / 1.117 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007196/1.252, allocations: 0.7563 MB / 1.117 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/1.252, allocations: 55.06 kB / 1.117 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 2.625e-06/1.252, allocations: 0 / 1.117 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.002461/1.254, allocations: 0.9998 MB / 1.118 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/1.254, allocations: 59.97 kB / 1.118 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/1.258, allocations: 2.296 MB / 1.121 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002071/1.258, allocations: 45.7 kB / 1.121 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/1.259, allocations: 1.153 MB / 1.122 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/1.26, allocations: 212.9 kB / 1.122 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/1.26, allocations: 24 kB / 1.122 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002268/1.26, allocations: 345.9 kB / 1.122 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000785/1.261, allocations: 346.4 kB / 1.123 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.262, allocations: 0.7384 MB / 1.123 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008648/1.263, allocations: 454.8 kB / 1.124 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.263, allocations: 4 kB / 1.124 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003049/1.266, allocations: 1.272 MB / 1.125 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003455/1.266, allocations: 346.8 kB / 1.125 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.266, allocations: 8 kB / 1.125 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.127e-05/1.266, allocations: 16 kB / 1.125 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.267, allocations: 255.6 kB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-05/1.267, allocations: 19.92 kB / 1.126 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/1.27, allocations: 262 kB / 1.126 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.27, allocations: 55.98 kB / 1.126 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/1.27, allocations: 4 kB / 1.126 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001781/1.271, allocations: 1.023 MB / 1.127 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.272, allocations: 8 kB / 1.127 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.272, allocations: 16.69 kB / 1.127 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008629/1.272, allocations: 255.6 kB / 1.127 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/1.272, allocations: 19.92 kB / 1.127 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/1.274, allocations: 226.5 kB / 1.127 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/1.274, allocations: 51.98 kB / 1.128 GB, free: 13.29 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.00122/1.276, allocations: 0.5787 MB / 1.128 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/1.276, allocations: 229.1 kB / 1.128 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/1.278, allocations: 0.9012 MB / 1.129 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/1.278, allocations: 15.94 kB / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.278, allocations: 0 / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/1.279, allocations: 0.6892 MB / 1.13 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/1.283, allocations: 2.578 MB / 1.132 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.283, allocations: 0 / 1.132 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/1.284, allocations: 135.8 kB / 1.133 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/1.284, allocations: 8.094 kB / 1.133 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/1.284, allocations: 19.98 kB / 1.133 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.284, allocations: 0 / 1.133 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.284, allocations: 7.953 kB / 1.133 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/1.286, allocations: 1.317 MB / 1.134 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009494/1.287, allocations: 457.8 kB / 1.134 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/1.287, allocations: 12 kB / 1.134 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.288, allocations: 119.7 kB / 1.134 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.288, allocations: 44.47 kB / 1.134 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/1.288, allocations: 31.97 kB / 1.134 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002488/1.291, allocations: 1.53 MB / 1.136 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/1.291, allocations: 0 / 1.136 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003197/1.294, allocations: 1.103 MB / 1.137 GB, free: 3.336 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001954/1.296, allocations: 0.7194 MB / 1.138 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002842/1.299, allocations: 1.35 MB / 1.139 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.299, allocations: 0 / 1.139 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005488/1.299, allocations: 327 kB / 1.139 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006265/1.306, allocations: 1.377 MB / 1.141 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007477/1.313, allocations: 4.48 MB / 1.145 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.315, allocations: 1.586 MB / 1.147 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006721/1.315, allocations: 191.4 kB / 1.147 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of SimCode: time 1.643e-06/1.315, allocations: 0 / 1.147 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of Templates: time 0.06686/1.382, allocations: 39.24 MB / 1.185 GB, free: 2.461 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o] Error 1