Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 100.5 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.001338/0.001338, allocations: 174.9 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.397/1.397, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7927/0.7927, allocations: 132.3 MB / 424 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 8.562 kB / 0.504 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4775, allocations: 81.58 MB / 0.5837 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01814/0.4957, allocations: 14.24 MB / 0.5976 GB, free: 9.883 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008427/0.5042, allocations: 4.05 MB / 0.6015 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008007/0.505, allocations: 18.53 kB / 0.6015 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.5061, allocations: 196.9 kB / 0.6017 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.5079, allocations: 492.3 kB / 0.6022 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.5101, allocations: 0.6038 MB / 0.6028 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.5119, allocations: 1.123 MB / 0.6039 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.5124, allocations: 266.6 kB / 0.6041 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000779/0.5132, allocations: 366.1 kB / 0.6045 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000468/0.5136, allocations: 305.9 kB / 0.6048 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.5137, allocations: 13.69 kB / 0.6048 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.515, allocations: 0.5406 MB / 0.6053 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.5152, allocations: 81.75 kB / 0.6054 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.5153, allocations: 107 kB / 0.6055 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008155/0.5161, allocations: 0.5198 MB / 0.606 GB, free: 4.336 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.5162, allocations: 1.438 kB / 0.606 GB, free: 4.336 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5162, allocations: 0 / 0.606 GB, free: 4.336 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.5162, allocations: 0 / 0.606 GB, free: 4.336 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001356/0.5175, allocations: 0.7536 MB / 0.6068 GB, free: 3.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5176, allocations: 9.656 kB / 0.6068 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.5177, allocations: 49.97 kB / 0.6068 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.5183, allocations: 401.8 kB / 0.6072 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.5184, allocations: 24.34 kB / 0.6072 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.5184, allocations: 30.38 kB / 0.6072 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.5189, allocations: 208.4 kB / 0.6074 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5189, allocations: 0.9062 kB / 0.6074 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.519, allocations: 9.625 kB / 0.6075 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.519, allocations: 5.812 kB / 0.6075 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.5194, allocations: 178.5 kB / 0.6076 GB, free: 3.066 MB / 446.1 MB 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.001676/0.5211, allocations: 0.9474 MB / 0.6086 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.5214, allocations: 142.6 kB / 0.6087 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.5216, allocations: 82 kB / 0.6088 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.5219, allocations: 335.2 kB / 0.6091 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.5219, allocations: 35.84 kB / 0.6091 GB, free: 1.723 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.522, allocations: 1.125 kB / 0.6091 GB, free: 1.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006575/0.5226, allocations: 258.2 kB / 0.6094 GB, free: 1.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.5227, allocations: 57.42 kB / 0.6094 GB, free: 1.523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005881/0.5233, allocations: 470.3 kB / 0.6099 GB, free: 1.238 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.5233, allocations: 31.7 kB / 0.6099 GB, free: 1.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.5235, allocations: 230.2 kB / 0.6101 GB, free: 1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.5236, allocations: 53.58 kB / 0.6102 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.5236, allocations: 4 kB / 0.6102 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5237, allocations: 348.2 kB / 0.6105 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.5239, allocations: 67.45 kB / 0.6106 GB, free: 0.582 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.5242, allocations: 163 kB / 0.6107 GB, free: 468 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.5244, allocations: 83.66 kB / 0.6108 GB, free: 432 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5244, allocations: 5.656 kB / 0.6108 GB, free: 428 kB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005064/0.5249, allocations: 264.9 kB / 0.6111 GB, free: 284 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/0.525, allocations: 104.7 kB / 0.6112 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5251, allocations: 0 / 0.6112 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5251, allocations: 2.344 kB / 0.6112 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.5253, allocations: 53.84 kB / 0.6112 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.5253, allocations: 1.344 kB / 0.6112 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.5257, allocations: 55.11 kB / 0.6113 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.5257, allocations: 7.875 kB / 0.6113 GB, free: 120 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.5257, allocations: 3.562 kB / 0.6113 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004496/0.5262, allocations: 188.2 kB / 0.6115 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.5262, allocations: 4 kB / 0.6115 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.722e-06/0.5262, allocations: 5.922 kB / 0.6115 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.5264, allocations: 52.81 kB / 0.6115 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.5264, allocations: 2.438 kB / 0.6115 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.5267, allocations: 42.92 kB / 0.6116 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.5268, allocations: 11.58 kB / 0.6116 GB, free: 15.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0002079/0.527, allocations: 234.9 kB / 0.6118 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/0.5271, allocations: 43.12 kB / 0.6118 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006166/0.5277, allocations: 267.3 kB / 0.6121 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.5277, allocations: 12.89 kB / 0.6121 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5277, allocations: 1.531 kB / 0.6121 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5277, allocations: 0 / 0.6121 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.5288, allocations: 0.7094 MB / 0.6128 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5288, allocations: 1.188 kB / 0.6128 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.5289, allocations: 40.44 kB / 0.6128 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.529, allocations: 3.281 kB / 0.6129 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.529, allocations: 6.188 kB / 0.6129 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.529, allocations: 2.25 kB / 0.6129 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.529, allocations: 0.9688 kB / 0.6129 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.5295, allocations: 350.3 kB / 0.6132 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.5297, allocations: 153.8 kB / 0.6133 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.5297, allocations: 7.312 kB / 0.6133 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.53, allocations: 20.92 kB / 0.6134 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.53, allocations: 18.41 kB / 0.6134 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.5301, allocations: 6.156 kB / 0.6134 GB, free: 14.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004265/0.5305, allocations: 328.9 kB / 0.6137 GB, free: 14.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5305, allocations: 0 / 0.6137 GB, free: 14.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007897/0.5313, allocations: 205 kB / 0.6139 GB, free: 14.3 MB / 462.1 MB 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 (16): * Single equations (assignments): 14 * 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.001249/0.5326, allocations: 477.2 kB / 0.6144 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006912/0.5333, allocations: 278.5 kB / 0.6146 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.5333, allocations: 0 / 0.6146 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.5335, allocations: 93.55 kB / 0.6147 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.5348, allocations: 229.7 kB / 0.6149 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.5364, allocations: 0.8727 MB / 0.6158 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.5369, allocations: 0.8219 MB / 0.6166 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.537, allocations: 41.64 kB / 0.6166 GB, free: 12.41 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.537, allocations: 0 / 0.6166 GB, free: 12.41 MB / 462.1 MB Notification: Performance of Templates: time 0.01344/0.5505, allocations: 7.356 MB / 0.6238 GB, free: 7.172 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.o] Error 1