Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001021/0.001021, allocations: 102.4 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.001215/0.001215, allocations: 176.6 kB / 16.59 MB, free: 6.402 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.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.124/1.124, allocations: 143.4 MB / 435.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 12 kB / 0.5166 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2404, allocations: 83.4 MB / 0.5981 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.4621/0.7026, allocations: 15.99 MB / 0.6137 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0062/0.7088, allocations: 4.598 MB / 0.6182 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006546/0.7095, allocations: 13.75 kB / 0.6182 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007709/0.7103, allocations: 186.4 kB / 0.6184 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.7118, allocations: 0.5024 MB / 0.6188 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.7136, allocations: 0.6021 MB / 0.6194 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.7148, allocations: 1.083 MB / 0.6205 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.7153, allocations: 269.6 kB / 0.6207 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000666/0.716, allocations: 358 kB / 0.6211 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.7164, allocations: 287.6 kB / 0.6214 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.7164, allocations: 17.97 kB / 0.6214 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.7177, allocations: 0.5989 MB / 0.622 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.7178, allocations: 107.2 kB / 0.6221 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.7179, allocations: 121 kB / 0.6222 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008101/0.7187, allocations: 0.6072 MB / 0.6228 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.7188, allocations: 3.062 kB / 0.6228 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7188, allocations: 0 / 0.6228 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7188, allocations: 0 / 0.6228 GB, free: 31.91 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.001198/0.72, allocations: 0.8017 MB / 0.6236 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.72, allocations: 12.62 kB / 0.6236 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.7202, allocations: 68.45 kB / 0.6236 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/0.7208, allocations: 424.2 kB / 0.624 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.7209, allocations: 20.12 kB / 0.6241 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.7209, allocations: 28.38 kB / 0.6241 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.7214, allocations: 291.8 kB / 0.6244 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.7215, allocations: 0 / 0.6244 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.7215, allocations: 6.344 kB / 0.6244 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.7215, allocations: 7.844 kB / 0.6244 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.7219, allocations: 201.6 kB / 0.6246 GB, free: 30.7 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.001756/0.7237, allocations: 1.49 MB / 0.626 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.724, allocations: 168.1 kB / 0.6262 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.7242, allocations: 92.45 kB / 0.6263 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/0.7257, allocations: 1.28 MB / 0.6275 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.7257, allocations: 42.47 kB / 0.6276 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/0.7257, allocations: 0 / 0.6276 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000631/0.7264, allocations: 267.6 kB / 0.6278 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.7264, allocations: 54.78 kB / 0.6279 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000678/0.7271, allocations: 0.5799 MB / 0.6284 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.7271, allocations: 28.36 kB / 0.6285 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.7274, allocations: 276.4 kB / 0.6287 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.7274, allocations: 46.58 kB / 0.6288 GB, free: 27.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.7274, allocations: 6.906 kB / 0.6288 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.7276, allocations: 366.1 kB / 0.6291 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.7277, allocations: 79.62 kB / 0.6292 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.728, allocations: 213.2 kB / 0.6294 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.7282, allocations: 104.7 kB / 0.6295 GB, free: 26.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.7282, allocations: 0 / 0.6295 GB, free: 26.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005354/0.7288, allocations: 319.4 kB / 0.6298 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.892e-05/0.7289, allocations: 162.9 kB / 0.63 GB, free: 26.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.7289, allocations: 6.188 kB / 0.63 GB, free: 26.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.7289, allocations: 5.562 kB / 0.63 GB, free: 26.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.7292, allocations: 63.39 kB / 0.63 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.7292, allocations: 5.812 kB / 0.6301 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.7295, allocations: 58.27 kB / 0.6301 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.7296, allocations: 17.53 kB / 0.6301 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.7296, allocations: 2.875 kB / 0.6301 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004278/0.73, allocations: 248.2 kB / 0.6304 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.73, allocations: 3.031 kB / 0.6304 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-06/0.73, allocations: 3.375 kB / 0.6304 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.7302, allocations: 66.59 kB / 0.6304 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.7303, allocations: 9.156 kB / 0.6304 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.7305, allocations: 41.16 kB / 0.6305 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.7306, allocations: 10.78 kB / 0.6305 GB, free: 26.43 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.7308, allocations: 271.5 kB / 0.6307 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.7308, allocations: 48.38 kB / 0.6308 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.7314, allocations: 276.6 kB / 0.6311 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.7314, allocations: 3 kB / 0.6311 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7314, allocations: 0 / 0.6311 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.7314, allocations: 0 / 0.6311 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009065/0.7323, allocations: 0.7425 MB / 0.6318 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.7323, allocations: 2.594 kB / 0.6318 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.7325, allocations: 34.52 kB / 0.6318 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.7325, allocations: 192 / 0.6318 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.7325, allocations: 6.625 kB / 0.6318 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.7325, allocations: 2.562 kB / 0.6318 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7325, allocations: 2.688 kB / 0.6318 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.7329, allocations: 374.5 kB / 0.6322 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.7331, allocations: 161.2 kB / 0.6323 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.7331, allocations: 3.5 kB / 0.6323 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.7333, allocations: 25.58 kB / 0.6324 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.7334, allocations: 16.47 kB / 0.6324 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.7334, allocations: 7.031 kB / 0.6324 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004159/0.7338, allocations: 414.8 kB / 0.6328 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.82e-07/0.7339, allocations: 0 / 0.6328 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007884/0.7346, allocations: 235.7 kB / 0.633 GB, free: 24.93 MB / 0.4981 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 (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.001252/0.7359, allocations: 499.6 kB / 0.6335 GB, free: 24.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006482/0.7366, allocations: 333.7 kB / 0.6338 GB, free: 24.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7366, allocations: 4.062 kB / 0.6338 GB, free: 24.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.7368, allocations: 94.56 kB / 0.6339 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.738, allocations: 253.3 kB / 0.6341 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.7393, allocations: 0.9952 MB / 0.6351 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.7397, allocations: 0.8503 MB / 0.6359 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-05/0.7398, allocations: 39.03 kB / 0.636 GB, free: 23.21 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.7398, allocations: 0 / 0.636 GB, free: 23.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.01466/0.7544, allocations: 8.612 MB / 0.6444 GB, free: 22.29 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o] Error 1