Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008418/0.0008418, allocations: 102.5 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.0009193/0.0009194, allocations: 178.8 kB / 16.58 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.4 MB / 222.8 MB, free: 5.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.04/2.04, allocations: 292.7 MB / 0.5505 GB, free: 14.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005335/0.0005335, allocations: 19.22 kB / 0.6744 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2899, allocations: 116.3 MB / 0.7879 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01604/0.306, allocations: 14.37 MB / 0.802 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.3178, allocations: 6.7 MB / 0.8085 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007943/0.3187, allocations: 19.81 kB / 0.8085 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.3197, allocations: 198.8 kB / 0.8087 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.3213, allocations: 489.4 kB / 0.8092 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.3233, allocations: 0.5992 MB / 0.8098 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001467/0.3247, allocations: 1.107 MB / 0.8108 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.3252, allocations: 254.4 kB / 0.8111 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.3258, allocations: 358.4 kB / 0.8114 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.3263, allocations: 298.7 kB / 0.8117 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.3263, allocations: 19.98 kB / 0.8117 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.3274, allocations: 0.5264 MB / 0.8122 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.3275, allocations: 83.61 kB / 0.8123 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.3276, allocations: 105.5 kB / 0.8124 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006479/0.3283, allocations: 0.5105 MB / 0.8129 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3283, allocations: 0 / 0.8129 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3283, allocations: 4 kB / 0.8129 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.3283, allocations: 0 / 0.8129 GB, free: 2.219 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001192/0.3295, allocations: 0.7434 MB / 0.8137 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3296, allocations: 8.031 kB / 0.8137 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3297, allocations: 55.34 kB / 0.8137 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.3303, allocations: 396.9 kB / 0.8141 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.3303, allocations: 24.38 kB / 0.8141 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.3304, allocations: 24 kB / 0.8141 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.3308, allocations: 219.2 kB / 0.8143 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3309, allocations: 0 / 0.8143 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.3309, allocations: 8 kB / 0.8144 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3309, allocations: 8 kB / 0.8144 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.3313, allocations: 177.6 kB / 0.8145 GB, free: 492 kB / 0.6231 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.001609/0.3329, allocations: 0.9574 MB / 0.8155 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.3333, allocations: 134.5 kB / 0.8156 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.3335, allocations: 76.81 kB / 0.8157 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/0.3338, allocations: 336.4 kB / 0.816 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3339, allocations: 34.56 kB / 0.816 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.3339, allocations: 0 / 0.816 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0006147/0.3345, allocations: 249.1 kB / 0.8163 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3345, allocations: 59.34 kB / 0.8163 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.3351, allocations: 465.9 kB / 0.8168 GB, free: 14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.3351, allocations: 33.7 kB / 0.8168 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3353, allocations: 224.6 kB / 0.817 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.3354, allocations: 51.36 kB / 0.8171 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.3354, allocations: 15.94 kB / 0.8171 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3356, allocations: 350.8 kB / 0.8174 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.3357, allocations: 71.81 kB / 0.8175 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.336, allocations: 151.7 kB / 0.8176 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.3362, allocations: 87.89 kB / 0.8177 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3362, allocations: 0 / 0.8177 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000468/0.3367, allocations: 264.8 kB / 0.818 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.488e-05/0.3368, allocations: 109.7 kB / 0.8181 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3368, allocations: 4 kB / 0.8181 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3368, allocations: 4 kB / 0.8181 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.337, allocations: 51.91 kB / 0.8181 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3371, allocations: 0 / 0.8181 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.3374, allocations: 43.81 kB / 0.8182 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.3374, allocations: 8 kB / 0.8182 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.3374, allocations: 4 kB / 0.8182 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004052/0.3378, allocations: 187.7 kB / 0.8183 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3379, allocations: 4 kB / 0.8184 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.3379, allocations: 7.953 kB / 0.8184 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.3381, allocations: 51.91 kB / 0.8184 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.3381, allocations: 4 kB / 0.8184 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.3383, allocations: 43.75 kB / 0.8185 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.3384, allocations: 4 kB / 0.8185 GB, free: 12.19 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0002254/0.3386, allocations: 237.8 kB / 0.8187 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.3387, allocations: 51.36 kB / 0.8187 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000644/0.3393, allocations: 268.3 kB / 0.819 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.3393, allocations: 192 / 0.819 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3394, allocations: 4 kB / 0.819 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.3394, allocations: 11.97 kB / 0.819 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000987/0.3404, allocations: 0.7121 MB / 0.8197 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3404, allocations: 0 / 0.8197 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3405, allocations: 35.92 kB / 0.8197 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3405, allocations: 4 kB / 0.8197 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3405, allocations: 0 / 0.8197 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3406, allocations: 8.125 kB / 0.8197 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3406, allocations: 0 / 0.8197 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.341, allocations: 350.3 kB / 0.8201 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.3412, allocations: 152.5 kB / 0.8202 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.3412, allocations: 3.938 kB / 0.8202 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.3414, allocations: 27.98 kB / 0.8203 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.3415, allocations: 11.97 kB / 0.8203 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3415, allocations: 12 kB / 0.8203 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003867/0.3419, allocations: 326.9 kB / 0.8206 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3419, allocations: 0 / 0.8206 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006993/0.3426, allocations: 199.7 kB / 0.8208 GB, free: 9.68 MB / 0.6387 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001294/0.3439, allocations: 466.2 kB / 0.8212 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006543/0.3446, allocations: 275.7 kB / 0.8215 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3446, allocations: 0 / 0.8215 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.3448, allocations: 84.14 kB / 0.8216 GB, free: 9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.3461, allocations: 240.5 kB / 0.8218 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.3476, allocations: 0.8715 MB / 0.8226 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.3482, allocations: 0.8194 MB / 0.8234 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3483, allocations: 43.42 kB / 0.8235 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.3483, allocations: 0 / 0.8235 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of Templates: time 0.01319/0.3615, allocations: 7.39 MB / 0.8307 GB, free: 15.65 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.o] Error 1