Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007959/0.0007957, allocations: 98.88 kB / 16.02 MB, free: 72 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.0008635/0.0008634, allocations: 181.2 kB / 16.92 MB, free: 6.914 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.346/1.346, allocations: 223.2 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00166/0.00166, allocations: 274.1 kB / 292.3 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9281/0.9281, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004165, allocations: 14.72 kB / 0.5993 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02004/0.2105, allocations: 16.83 MB / 0.7022 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007109/0.2177, allocations: 4.864 MB / 0.707 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.2182, allocations: 15.88 kB / 0.707 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007471/0.219, allocations: 214.9 kB / 0.7072 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.2204, allocations: 0.5521 MB / 0.7077 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.2222, allocations: 0.6498 MB / 0.7084 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.2236, allocations: 1.27 MB / 0.7096 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.2241, allocations: 288.2 kB / 0.7099 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005877/0.2247, allocations: 366.4 kB / 0.7102 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.2251, allocations: 306.5 kB / 0.7105 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.2251, allocations: 16 kB / 0.7105 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.2263, allocations: 0.7018 MB / 0.7112 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.2265, allocations: 111.6 kB / 0.7113 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.2268, allocations: 256.3 kB / 0.7116 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000794/0.2276, allocations: 0.6196 MB / 0.7122 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2276, allocations: 0 / 0.7122 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2276, allocations: 0 / 0.7122 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.2276, allocations: 0 / 0.7122 GB, free: 3.969 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001302/0.2289, allocations: 0.7943 MB / 0.7129 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2289, allocations: 8.031 kB / 0.713 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.2291, allocations: 56.28 kB / 0.713 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.2298, allocations: 453.6 kB / 0.7134 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.2298, allocations: 24.5 kB / 0.7135 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.2299, allocations: 28 kB / 0.7135 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.2304, allocations: 294.2 kB / 0.7138 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2305, allocations: 4 kB / 0.7138 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.2305, allocations: 8 kB / 0.7138 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2305, allocations: 8 kB / 0.7138 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.2309, allocations: 202.1 kB / 0.714 GB, free: 2.012 MB / 0.4981 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.001833/0.2328, allocations: 1.484 MB / 0.7154 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.2331, allocations: 170.7 kB / 0.7156 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.2333, allocations: 88.81 kB / 0.7157 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/0.2349, allocations: 1.284 MB / 0.7169 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.2349, allocations: 46.44 kB / 0.717 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.2349, allocations: 0 / 0.717 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006145/0.2355, allocations: 259.2 kB / 0.7172 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.2356, allocations: 59.41 kB / 0.7173 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.2362, allocations: 0.5847 MB / 0.7179 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2363, allocations: 29.7 kB / 0.7179 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.2365, allocations: 272.1 kB / 0.7181 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.2365, allocations: 51.2 kB / 0.7182 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.2366, allocations: 33.7 kB / 0.7182 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2367, allocations: 358.8 kB / 0.7186 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.2369, allocations: 80.52 kB / 0.7186 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.2372, allocations: 214.7 kB / 0.7188 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.2377, allocations: 238.8 kB / 0.7191 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2377, allocations: 4 kB / 0.7191 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005716/0.2382, allocations: 326.8 kB / 0.7194 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.892e-05/0.2384, allocations: 165.8 kB / 0.7195 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2384, allocations: 4 kB / 0.7196 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2384, allocations: 4 kB / 0.7196 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.2387, allocations: 71.84 kB / 0.7196 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2387, allocations: 4 kB / 0.7196 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.239, allocations: 55.66 kB / 0.7197 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.239, allocations: 12 kB / 0.7197 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-06/0.2391, allocations: 4 kB / 0.7197 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004734/0.2395, allocations: 249.6 kB / 0.7199 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2396, allocations: 4 kB / 0.7199 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-06/0.2396, allocations: 4 kB / 0.7199 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.2398, allocations: 67.84 kB / 0.72 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2398, allocations: 4.094 kB / 0.72 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.2401, allocations: 51.78 kB / 0.7201 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.2401, allocations: 16 kB / 0.7201 GB, free: 11.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.2403, allocations: 262.2 kB / 0.7203 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.2404, allocations: 47.44 kB / 0.7204 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/0.241, allocations: 275.6 kB / 0.7206 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.241, allocations: 4 kB / 0.7206 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.241, allocations: 0 / 0.7206 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.241, allocations: 0 / 0.7206 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.2421, allocations: 0.7434 MB / 0.7214 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2421, allocations: 3.984 kB / 0.7214 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.2422, allocations: 36.05 kB / 0.7214 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2422, allocations: 4 kB / 0.7214 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2422, allocations: 4 kB / 0.7214 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2423, allocations: 0 / 0.7214 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2423, allocations: 4 kB / 0.7214 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.2428, allocations: 370.1 kB / 0.7218 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.2429, allocations: 152.3 kB / 0.7219 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.243, allocations: 8 kB / 0.7219 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2432, allocations: 20.17 kB / 0.7219 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.2433, allocations: 23.97 kB / 0.722 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.2433, allocations: 7.984 kB / 0.722 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000446/0.2437, allocations: 418.8 kB / 0.7224 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2437, allocations: 0 / 0.7224 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007585/0.2445, allocations: 235.6 kB / 0.7226 GB, free: 8.566 MB / 0.5137 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/0.2457, allocations: 0.4945 MB / 0.7231 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007638/0.2465, allocations: 337.5 kB / 0.7234 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2465, allocations: 0 / 0.7234 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.2467, allocations: 92.7 kB / 0.7235 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.2482, allocations: 247 kB / 0.7237 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.2497, allocations: 1.023 MB / 0.7247 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.2503, allocations: 0.8468 MB / 0.7255 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/0.2504, allocations: 35.44 kB / 0.7256 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.2504, allocations: 4 kB / 0.7256 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.01325/0.2637, allocations: 8.517 MB / 0.7339 GB, free: 13.14 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o] Error 1