Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009195/0.0009197, allocations: 99.44 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.0009396/0.0009397, allocations: 174.5 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.477/1.477, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.116/1.116, allocations: 143.4 MB / 435.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005189, allocations: 12 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2519, allocations: 83.42 MB / 0.5981 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.5052/0.7572, allocations: 17.77 MB / 0.6154 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007352/0.7646, allocations: 4.858 MB / 0.6202 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.766, allocations: 16.56 kB / 0.6202 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009838/0.767, allocations: 177.1 kB / 0.6204 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.7696, allocations: 0.6239 MB / 0.621 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.7723, allocations: 0.7304 MB / 0.6217 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.7749, allocations: 1.686 MB / 0.6233 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007418/0.7756, allocations: 415 kB / 0.6237 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.7767, allocations: 0.5357 MB / 0.6242 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006199/0.7773, allocations: 0.4884 MB / 0.6247 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.069e-05/0.7774, allocations: 31.28 kB / 0.6247 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.7787, allocations: 0.5992 MB / 0.6253 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.7788, allocations: 128.2 kB / 0.6255 GB, free: 29.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.779, allocations: 151.3 kB / 0.6256 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.7797, allocations: 0.776 MB / 0.6264 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7798, allocations: 0 / 0.6264 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7798, allocations: 0 / 0.6264 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.7798, allocations: 0 / 0.6264 GB, free: 29.71 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001602/0.7814, allocations: 0.9998 MB / 0.6273 GB, free: 29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.7814, allocations: 8.75 kB / 0.6273 GB, free: 29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.7816, allocations: 80.97 kB / 0.6274 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006161/0.7822, allocations: 499.7 kB / 0.6279 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.7822, allocations: 38.34 kB / 0.6279 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/0.7823, allocations: 52.84 kB / 0.628 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/0.7833, allocations: 0.6377 MB / 0.6286 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.7833, allocations: 2.812 kB / 0.6286 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.7833, allocations: 15.22 kB / 0.6286 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.7834, allocations: 12.22 kB / 0.6286 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009149/0.7843, allocations: 0.5165 MB / 0.6291 GB, free: 28.04 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.002815/0.7871, allocations: 3.223 MB / 0.6323 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.7877, allocations: 350.1 kB / 0.6326 GB, free: 25.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.7882, allocations: 245.6 kB / 0.6329 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/0.7885, allocations: 351.5 kB / 0.6332 GB, free: 24.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.7885, allocations: 40.84 kB / 0.6332 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 3.086e-06/0.7886, allocations: 0 / 0.6332 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.002074/0.7906, allocations: 0.8566 MB / 0.6341 GB, free: 24.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.7907, allocations: 58.16 kB / 0.6341 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.7913, allocations: 0.589 MB / 0.6347 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.7913, allocations: 29.7 kB / 0.6347 GB, free: 24.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.7916, allocations: 339.1 kB / 0.635 GB, free: 23.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.801e-05/0.7917, allocations: 127.2 kB / 0.6352 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.7917, allocations: 11.66 kB / 0.6352 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.7918, allocations: 370.2 kB / 0.6355 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.7922, allocations: 220.3 kB / 0.6357 GB, free: 23.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.7928, allocations: 378.6 kB / 0.6361 GB, free: 23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.7933, allocations: 254.1 kB / 0.6363 GB, free: 22.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7933, allocations: 3.156 kB / 0.6363 GB, free: 22.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001257/0.7945, allocations: 0.7258 MB / 0.6371 GB, free: 22.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.7947, allocations: 222.1 kB / 0.6373 GB, free: 22.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.7947, allocations: 6.031 kB / 0.6373 GB, free: 22.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.7952, allocations: 148.7 kB / 0.6374 GB, free: 22.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.7959, allocations: 162.9 kB / 0.6376 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005086/0.7964, allocations: 0.6318 MB / 0.6382 GB, free: 21.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006158/0.797, allocations: 104 kB / 0.6383 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.7971, allocations: 30.92 kB / 0.6383 GB, free: 21.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.7971, allocations: 5.062 kB / 0.6383 GB, free: 21.69 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001125/0.7982, allocations: 0.6228 MB / 0.6389 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.7983, allocations: 9.938 kB / 0.6389 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.7983, allocations: 7.875 kB / 0.6389 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.7988, allocations: 157.3 kB / 0.6391 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.7988, allocations: 13.69 kB / 0.6391 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.7994, allocations: 89.09 kB / 0.6392 GB, free: 21.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.7994, allocations: 30.02 kB / 0.6392 GB, free: 21.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003147/0.7998, allocations: 278.7 kB / 0.6395 GB, free: 21.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.615e-05/0.7999, allocations: 71.59 kB / 0.6396 GB, free: 21.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.8012, allocations: 0.6695 MB / 0.6402 GB, free: 20.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.8013, allocations: 5.375 kB / 0.6402 GB, free: 20.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8013, allocations: 4 kB / 0.6402 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.8013, allocations: 5.938 kB / 0.6402 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.8035, allocations: 1.395 MB / 0.6416 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.8035, allocations: 2.625 kB / 0.6416 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.8039, allocations: 92.69 kB / 0.6417 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003695/0.8042, allocations: 127.4 kB / 0.6418 GB, free: 20.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.8043, allocations: 12.58 kB / 0.6418 GB, free: 20.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004691/0.8048, allocations: 0.6367 MB / 0.6424 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8048, allocations: 0 / 0.6424 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.8059, allocations: 0.7343 MB / 0.6432 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.8062, allocations: 210.2 kB / 0.6434 GB, free: 19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.669e-05/0.8062, allocations: 6.625 kB / 0.6434 GB, free: 19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.8067, allocations: 56.77 kB / 0.6434 GB, free: 18.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.8067, allocations: 34.11 kB / 0.6434 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.8068, allocations: 21.17 kB / 0.6435 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004452/0.8072, allocations: 398.1 kB / 0.6438 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8072, allocations: 0 / 0.6438 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001197/0.8084, allocations: 390.5 kB / 0.6442 GB, free: 18.71 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000638/0.8091, allocations: 307.1 kB / 0.6445 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.8111, allocations: 0.913 MB / 0.6454 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8112, allocations: 0 / 0.6454 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006654/0.8118, allocations: 300.2 kB / 0.6457 GB, free: 18.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.8133, allocations: 266.2 kB / 0.6459 GB, free: 18.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.8154, allocations: 1.344 MB / 0.6473 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.8159, allocations: 0.9131 MB / 0.6481 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.8161, allocations: 64.23 kB / 0.6482 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.8161, allocations: 0 / 0.6482 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.03222/0.8483, allocations: 13.13 MB / 0.661 GB, free: 15.25 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependentCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o] Error 1