Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009044/0.0009043, allocations: 102.6 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.0009706/0.0009705, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.873/1.873, allocations: 205.4 MB / 222.7 MB, free: 5.871 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 1.837/1.837, allocations: 292.7 MB / 0.5505 GB, free: 14.53 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.0005285/0.0005285, allocations: 13.81 kB / 0.6743 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3093, allocations: 116.3 MB / 0.7879 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.04105/0.3504, allocations: 27.75 MB / 0.815 GB, free: 108 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.3684, allocations: 10.97 MB / 0.8257 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.3704, allocations: 39.62 kB / 0.8258 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.3717, allocations: 301.9 kB / 0.8261 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004438/0.3762, allocations: 1.068 MB / 0.8271 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.3796, allocations: 0.9653 MB / 0.8281 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005277/0.3849, allocations: 3.511 MB / 0.8315 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.387, allocations: 1.074 MB / 0.8325 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.3904, allocations: 1.449 MB / 0.834 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.3938, allocations: 1.55 MB / 0.8355 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004889/0.3943, allocations: 64 kB / 0.8355 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.3968, allocations: 0.8656 MB / 0.8364 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004651/0.3973, allocations: 326.8 kB / 0.8367 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005714/0.3979, allocations: 245.1 kB / 0.8369 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.4, allocations: 1.52 MB / 0.8384 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4, allocations: 0 / 0.8384 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4, allocations: 4 kB / 0.8384 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.4, allocations: 0 / 0.8384 GB, free: 8.113 MB / 0.6544 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.002445/0.4025, allocations: 1.336 MB / 0.8397 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4025, allocations: 8.031 kB / 0.8397 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.4029, allocations: 142.6 kB / 0.8399 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.4044, allocations: 0.8602 MB / 0.8407 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.569e-05/0.4045, allocations: 81.31 kB / 0.8408 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.4047, allocations: 120 kB / 0.8409 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.4057, allocations: 0.6357 MB / 0.8415 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4057, allocations: 3.938 kB / 0.8415 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/0.4058, allocations: 28 kB / 0.8415 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.4058, allocations: 15.98 kB / 0.8416 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008359/0.4067, allocations: 476.8 kB / 0.842 GB, free: 4.297 MB / 0.6544 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.00439/0.4111, allocations: 2.867 MB / 0.8448 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.4116, allocations: 308.5 kB / 0.8451 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.412, allocations: 153.3 kB / 0.8452 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003665/0.4123, allocations: 344.7 kB / 0.8456 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.4124, allocations: 34.84 kB / 0.8456 GB, free: 368 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.365e-06/0.4124, allocations: 4 kB / 0.8456 GB, free: 364 kB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.001301/0.4137, allocations: 0.5432 MB / 0.8461 GB, free: 15.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.4137, allocations: 55.41 kB / 0.8462 GB, free: 15.73 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000965/0.4147, allocations: 0.883 MB / 0.8471 GB, free: 14.83 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.4148, allocations: 57.7 kB / 0.8471 GB, free: 14.77 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/0.4153, allocations: 0.537 MB / 0.8476 GB, free: 14.23 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.4154, allocations: 114.4 kB / 0.8477 GB, free: 14.11 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.4155, allocations: 8 kB / 0.8478 GB, free: 14.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4156, allocations: 334 kB / 0.8481 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.416, allocations: 173.2 kB / 0.8482 GB, free: 13.61 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.4173, allocations: 1.147 MB / 0.8494 GB, free: 12.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.4178, allocations: 306.8 kB / 0.8497 GB, free: 11.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4178, allocations: 0 / 0.8497 GB, free: 11.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001263/0.4191, allocations: 0.6383 MB / 0.8503 GB, free: 11.15 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.4192, allocations: 152.3 kB / 0.8504 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4192, allocations: 4 kB / 0.8504 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.4193, allocations: 7.953 kB / 0.8504 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.4206, allocations: 235.7 kB / 0.8507 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.4225, allocations: 2.954 MB / 0.8535 GB, free: 7.656 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003248/0.4258, allocations: 0.761 MB / 0.8543 GB, free: 6.891 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-05/0.4259, allocations: 27.98 kB / 0.8543 GB, free: 6.863 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4259, allocations: 4 kB / 0.8543 GB, free: 6.859 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009712/0.4269, allocations: 0.5012 MB / 0.8548 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4269, allocations: 4 kB / 0.8548 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.4269, allocations: 4 kB / 0.8548 GB, free: 6.352 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.4276, allocations: 167.8 kB / 0.855 GB, free: 6.188 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.4276, allocations: 8 kB / 0.855 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.4307, allocations: 0.7339 MB / 0.8557 GB, free: 5.445 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.4307, allocations: 27.98 kB / 0.8557 GB, free: 5.418 MB / 0.67 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.0007458/0.4315, allocations: 325.9 kB / 0.856 GB, free: 5.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.4317, allocations: 98.73 kB / 0.8561 GB, free: 4.992 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.4328, allocations: 0.5208 MB / 0.8566 GB, free: 4.465 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.4329, allocations: 4 kB / 0.8566 GB, free: 4.461 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.4329, allocations: 0 / 0.8566 GB, free: 4.461 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4329, allocations: 3.984 kB / 0.8566 GB, free: 4.457 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.4351, allocations: 1.264 MB / 0.8579 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4351, allocations: 4 kB / 0.8579 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005319/0.4357, allocations: 123.8 kB / 0.858 GB, free: 3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.4357, allocations: 4 kB / 0.858 GB, free: 2.996 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.4357, allocations: 12 kB / 0.858 GB, free: 2.984 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.4375, allocations: 2.946 MB / 0.8609 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4376, allocations: 0 / 0.8609 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/0.4385, allocations: 0.5778 MB / 0.8615 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003944/0.4389, allocations: 219.7 kB / 0.8617 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-05/0.439, allocations: 4 kB / 0.8617 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.4395, allocations: 67.78 kB / 0.8617 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.4396, allocations: 27.97 kB / 0.8618 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.4397, allocations: 15.98 kB / 0.8618 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007647/0.4405, allocations: 0.5845 MB / 0.8623 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4405, allocations: 0 / 0.8623 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001868/0.4423, allocations: 0.5384 MB / 0.8629 GB, free: 13.84 MB / 0.6856 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.0007627/0.4431, allocations: 325.8 kB / 0.8632 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.4456, allocations: 0.8391 MB / 0.864 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4456, allocations: 384 / 0.864 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005542/0.4462, allocations: 236.2 kB / 0.8642 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.4486, allocations: 0.4921 MB / 0.8647 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.4515, allocations: 1.827 MB / 0.8665 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.4522, allocations: 1.018 MB / 0.8675 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.4524, allocations: 79.42 kB / 0.8676 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of SimCode: time 1.182e-06/0.4524, allocations: 0 / 0.8676 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of Templates: time 0.04848/0.5009, allocations: 36.36 MB / 0.9031 GB, free: 4.844 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile make -j1 -f Buildings_8_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"." -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.TwoWayValvesCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o] Error 1