Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.phi|valQui.phi|valEqu.phi|valInd.phi|valPol.phi|valBut.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.phi|valQui.phi|valEqu.phi|valInd.phi|valPol.phi|valBut.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 98.89 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.0008658/0.0008658, allocations: 174.6 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.466/1.466, allocations: 223.2 MB / 240.6 MB, free: 5.387 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.595/2.595, allocations: 390.4 MB / 0.6662 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 8 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8873/0.8876, allocations: 142.3 MB / 0.9544 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03099/0.9187, allocations: 27.39 MB / 0.9812 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.9318, allocations: 7.67 MB / 0.9886 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.9334, allocations: 25.38 kB / 0.9887 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.9346, allocations: 296.8 kB / 0.989 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.9384, allocations: 1.089 MB / 0.99 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.9414, allocations: 0.953 MB / 0.9909 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004647/0.9461, allocations: 3.534 MB / 0.9944 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.9476, allocations: 1.086 MB / 0.9955 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.9503, allocations: 1.468 MB / 0.9969 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.9528, allocations: 1.55 MB / 0.9984 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002879/0.9531, allocations: 64 kB / 0.9985 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.9553, allocations: 0.8656 MB / 0.9993 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004479/0.9558, allocations: 330.8 kB / 0.9996 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.9562, allocations: 253 kB / 0.9999 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.9578, allocations: 1.537 MB / 1.001 GB, free: 0 / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9578, allocations: 0 / 1.001 GB, free: 0 / 0.7481 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9578, allocations: 0 / 1.001 GB, free: 0 / 0.7481 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.9578, allocations: 0 / 1.001 GB, free: 0 / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00213/0.96, allocations: 1.344 MB / 1.003 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.96, allocations: 8.031 kB / 1.003 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.9603, allocations: 150.5 kB / 1.003 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.9618, allocations: 0.8604 MB / 1.004 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.9619, allocations: 81.31 kB / 1.004 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.9621, allocations: 116 kB / 1.004 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.9631, allocations: 0.6395 MB / 1.004 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.9632, allocations: 0 / 1.004 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/0.9632, allocations: 24 kB / 1.005 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.9632, allocations: 20 kB / 1.005 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.9642, allocations: 476.8 kB / 1.005 GB, free: 12.16 MB / 0.7637 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.004748/0.969, allocations: 2.883 MB / 1.008 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.9696, allocations: 319.8 kB / 1.008 GB, free: 8.805 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.9699, allocations: 153.3 kB / 1.008 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003755/0.9703, allocations: 348.6 kB / 1.009 GB, free: 8.238 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.9704, allocations: 34.84 kB / 1.009 GB, free: 8.195 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/0.9704, allocations: 0 / 1.009 GB, free: 8.195 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33): time 0.001284/0.9717, allocations: 0.5486 MB / 1.009 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.9717, allocations: 59.34 kB / 1.009 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.9728, allocations: 0.8919 MB / 1.01 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.9729, allocations: 53.7 kB / 1.01 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/0.9736, allocations: 0.5345 MB / 1.011 GB, free: 6.055 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.9737, allocations: 118.3 kB / 1.011 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.9737, allocations: 16 kB / 1.011 GB, free: 5.922 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.9739, allocations: 330 kB / 1.011 GB, free: 5.594 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.9743, allocations: 173.2 kB / 1.011 GB, free: 5.426 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.9758, allocations: 1.143 MB / 1.012 GB, free: 3.918 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.9763, allocations: 310.8 kB / 1.013 GB, free: 3.617 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9763, allocations: 0 / 1.013 GB, free: 3.617 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001248/0.9776, allocations: 0.6385 MB / 1.013 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.9777, allocations: 156 kB / 1.013 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.9777, allocations: 4 kB / 1.013 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.9777, allocations: 4 kB / 1.013 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.9791, allocations: 235.7 kB / 1.014 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.9811, allocations: 2.957 MB / 1.017 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/0.9843, allocations: 0.7534 MB / 1.017 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.9844, allocations: 27.98 kB / 1.017 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.9844, allocations: 4 kB / 1.017 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.9854, allocations: 0.4933 MB / 1.018 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9854, allocations: 4 kB / 1.018 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.9854, allocations: 4 kB / 1.018 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.9861, allocations: 159.8 kB / 1.018 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.9861, allocations: 11.94 kB / 1.018 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/0.989, allocations: 0.7381 MB / 1.019 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/0.9891, allocations: 27.98 kB / 1.019 GB, free: 13.25 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007217/0.9898, allocations: 329.9 kB / 1.019 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.99, allocations: 102.8 kB / 1.019 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.9911, allocations: 0.5241 MB / 1.02 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.9911, allocations: 7.984 kB / 1.02 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9911, allocations: 0 / 1.02 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.9912, allocations: 0 / 1.02 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.9933, allocations: 1.276 MB / 1.021 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.9933, allocations: 0 / 1.021 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005118/0.9938, allocations: 124 kB / 1.021 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.9939, allocations: 3.984 kB / 1.021 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.9939, allocations: 12 kB / 1.021 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.9955, allocations: 2.938 MB / 1.024 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9955, allocations: 4.094 kB / 1.024 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008876/0.9964, allocations: 0.5775 MB / 1.024 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.9968, allocations: 227.7 kB / 1.025 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.9969, allocations: 8 kB / 1.025 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.9974, allocations: 67.78 kB / 1.025 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.9975, allocations: 23.97 kB / 1.025 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.9975, allocations: 23.98 kB / 1.025 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008116/0.9983, allocations: 0.5967 MB / 1.025 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9983, allocations: 0 / 1.025 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001876/1, allocations: 0.5384 MB / 1.026 GB, free: 5.629 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009298/1.001, allocations: 330.2 kB / 1.026 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002543/1.004, allocations: 0.8361 MB / 1.027 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.004, allocations: 0 / 1.027 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005814/1.004, allocations: 244.5 kB / 1.027 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/1.007, allocations: 484.3 kB / 1.028 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/1.01, allocations: 1.835 MB / 1.03 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/1.01, allocations: 1.029 MB / 1.031 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/1.011, allocations: 83.41 kB / 1.031 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of SimCode: time 1.453e-06/1.011, allocations: 0 / 1.031 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of Templates: time 0.04788/1.058, allocations: 36.29 MB / 1.066 GB, free: 12.68 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValvesCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o] Error 1