Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008233/0.0008233, allocations: 101.7 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.001019/0.00102, allocations: 175.9 kB / 16.58 MB, free: 6.863 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.661/1.661, allocations: 205.4 MB / 222.7 MB, free: 5.891 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.834/1.834, 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.0005188/0.0005189, allocations: 13.66 kB / 0.6743 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2802, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02267/0.303, allocations: 17.98 MB / 0.8055 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.3162, allocations: 7.742 MB / 0.813 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.3173, allocations: 23.75 kB / 0.8131 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007916/0.3181, allocations: 186.7 kB / 0.8132 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.3202, allocations: 0.609 MB / 0.8138 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.3226, allocations: 0.7451 MB / 0.8146 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.3248, allocations: 1.669 MB / 0.8162 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006433/0.3255, allocations: 411.1 kB / 0.8166 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009576/0.3264, allocations: 0.529 MB / 0.8171 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006653/0.3271, allocations: 489.9 kB / 0.8176 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.13e-05/0.3272, allocations: 31.94 kB / 0.8176 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.3286, allocations: 0.5964 MB / 0.8182 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.3288, allocations: 123.4 kB / 0.8183 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.329, allocations: 153.3 kB / 0.8184 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008918/0.3299, allocations: 0.7404 MB / 0.8192 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3299, allocations: 0 / 0.8192 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.996e-06/0.3299, allocations: 0 / 0.8192 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.3299, allocations: 0 / 0.8192 GB, free: 11.81 MB / 0.6387 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.001779/0.3317, allocations: 0.9929 MB / 0.8201 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.3317, allocations: 8.031 kB / 0.8201 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.3319, allocations: 79.06 kB / 0.8202 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.3327, allocations: 482.6 kB / 0.8207 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.3327, allocations: 40.94 kB / 0.8207 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.3328, allocations: 48 kB / 0.8208 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.3339, allocations: 0.645 MB / 0.8214 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.3339, allocations: 7.938 kB / 0.8214 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.334, allocations: 16 kB / 0.8214 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.334, allocations: 15.98 kB / 0.8214 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.335, allocations: 0.5151 MB / 0.8219 GB, free: 8.812 MB / 0.6387 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.003847/0.3389, allocations: 3.189 MB / 0.8251 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.3396, allocations: 366.7 kB / 0.8254 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.3401, allocations: 232.8 kB / 0.8256 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004154/0.3405, allocations: 352.4 kB / 0.826 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3405, allocations: 34.56 kB / 0.826 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=38): time 3.847e-06/0.3405, allocations: 4.031 kB / 0.826 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002188/0.3427, allocations: 0.8649 MB / 0.8268 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.3428, allocations: 55.41 kB / 0.8269 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.3435, allocations: 0.5821 MB / 0.8275 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.3435, allocations: 29.7 kB / 0.8275 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.3438, allocations: 336.4 kB / 0.8278 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.344, allocations: 126.2 kB / 0.8279 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.344, allocations: 12 kB / 0.8279 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002987/0.3443, allocations: 374.8 kB / 0.8283 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.3448, allocations: 217.2 kB / 0.8285 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.3454, allocations: 376 kB / 0.8289 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.346, allocations: 260.7 kB / 0.8291 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.346, allocations: 0 / 0.8291 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001446/0.3475, allocations: 0.7344 MB / 0.8298 GB, free: 300 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.3477, allocations: 226 kB / 0.8301 GB, free: 12 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.3477, allocations: 4 kB / 0.8301 GB, free: 8 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006671/0.3484, allocations: 148.7 kB / 0.8302 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.3491, allocations: 159.8 kB / 0.8303 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006713/0.3498, allocations: 0.6266 MB / 0.831 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/0.3504, allocations: 107.2 kB / 0.8311 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.3505, allocations: 31.98 kB / 0.8311 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.3505, allocations: 4 kB / 0.8311 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.3518, allocations: 0.6233 MB / 0.8317 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.3518, allocations: 12.05 kB / 0.8317 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.3518, allocations: 8 kB / 0.8317 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.3524, allocations: 159.8 kB / 0.8319 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.3525, allocations: 7.938 kB / 0.8319 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/0.353, allocations: 91.47 kB / 0.832 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.3531, allocations: 31.98 kB / 0.832 GB, free: 13.98 MB / 0.6544 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.0003869/0.3535, allocations: 272.9 kB / 0.8323 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.3536, allocations: 63.25 kB / 0.8323 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.3551, allocations: 0.6731 MB / 0.833 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3552, allocations: 4 kB / 0.833 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3552, allocations: 0 / 0.833 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3552, allocations: 7.984 kB / 0.833 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.3576, allocations: 1.397 MB / 0.8344 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.3577, allocations: 4 kB / 0.8344 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.358, allocations: 95.88 kB / 0.8345 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004018/0.3584, allocations: 124.9 kB / 0.8346 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.3585, allocations: 19.98 kB / 0.8346 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000634/0.3591, allocations: 0.6381 MB / 0.8352 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3592, allocations: 4.031 kB / 0.8352 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.3605, allocations: 0.7204 MB / 0.8359 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.3608, allocations: 200 kB / 0.8361 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.3609, allocations: 8 kB / 0.8361 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.3613, allocations: 59.94 kB / 0.8362 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.3614, allocations: 31.97 kB / 0.8362 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.3614, allocations: 19.92 kB / 0.8362 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004702/0.3619, allocations: 395.1 kB / 0.8366 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3619, allocations: 0 / 0.8366 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001393/0.3633, allocations: 387.3 kB / 0.837 GB, free: 8.723 MB / 0.6544 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.0009122/0.3642, allocations: 301.2 kB / 0.8373 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.3666, allocations: 0.9214 MB / 0.8382 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.3666, allocations: 0 / 0.8382 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007562/0.3674, allocations: 300.2 kB / 0.8384 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.3691, allocations: 271.9 kB / 0.8387 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.3718, allocations: 1.314 MB / 0.84 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007383/0.3726, allocations: 0.9077 MB / 0.8409 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.3728, allocations: 63.41 kB / 0.8409 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of SimCode: time 8.62e-07/0.3728, allocations: 4 kB / 0.8409 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of Templates: time 0.02287/0.3957, allocations: 13 MB / 0.8536 GB, free: 7.691 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile make -j1 -f Buildings_8_Buildings.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"." -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.TwoWayValvePressureIndependentCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o] Error 1