Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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) 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(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001159, allocations: 94.59 kB / 16.96 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.001631, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.482/1.482, allocations: 223.3 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 4 kB / 301.4 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003042/0.13, allocations: 1.832 MB / 353.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.1309, allocations: 0.5658 MB / 354.3 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.131, allocations: 7.938 kB / 354.3 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.1311, allocations: 19.8 kB / 354.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1314, allocations: 51.62 kB / 354.3 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.1318, allocations: 63.86 kB / 354.4 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.1321, allocations: 251 kB / 354.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1323, allocations: 60.69 kB / 354.7 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.1325, allocations: 91.45 kB / 354.8 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1328, allocations: 127.3 kB / 354.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.1328, allocations: 12 kB / 354.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.581e-05/0.1329, allocations: 12 kB / 354.9 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.1329, allocations: 43.77 kB / 355 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.133, allocations: 61.52 kB / 355 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.1333, allocations: 187.7 kB / 355.2 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1333, allocations: 4 kB / 355.2 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1333, allocations: 0 / 355.2 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1333, allocations: 0 / 355.2 MB, free: 0.6172 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001193/0.1345, allocations: 0.5804 MB / 355.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1346, allocations: 8.031 kB / 355.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.1346, allocations: 39.31 kB / 355.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.1351, allocations: 299.3 kB / 356.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1352, allocations: 12.28 kB / 356.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.1352, allocations: 20 kB / 356.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008406/0.1361, allocations: 358.9 kB / 356.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1361, allocations: 4 kB / 356.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.1361, allocations: 11.95 kB / 356.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1361, allocations: 7.984 kB / 356.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.1364, allocations: 94.73 kB / 356.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.1373, allocations: 0.5287 MB / 357.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/0.1382, allocations: 315.7 kB / 357.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.1386, allocations: 135 kB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.276e-05/0.1386, allocations: 11.97 kB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.1387, allocations: 46.5 kB / 357.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.1387, allocations: 0 / 357.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003272/0.142, allocations: 1.319 MB / 359 MB, free: 12.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.1421, allocations: 130.7 kB / 359.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.1427, allocations: 328.5 kB / 359.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.1427, allocations: 33.7 kB / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.1429, allocations: 145 kB / 359.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.143, allocations: 55.56 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.143, allocations: 4 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1432, allocations: 346.8 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.1434, allocations: 76.77 kB / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.1438, allocations: 330.7 kB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.144, allocations: 119.9 kB / 360.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.144, allocations: 3.938 kB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005969/0.1446, allocations: 417.1 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.1447, allocations: 12 kB / 360.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.1447, allocations: 11.94 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.1447, allocations: 12 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.145, allocations: 95.83 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.145, allocations: 15.94 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.1453, allocations: 32.14 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.1453, allocations: 35.98 kB / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0002064/0.1455, allocations: 160.9 kB / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/0.146, allocations: 292.5 kB / 361.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006464/0.1467, allocations: 375.5 kB / 362 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.1467, allocations: 4 kB / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1467, allocations: 0 / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1467, allocations: 8 kB / 362 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.1471, allocations: 333.2 kB / 362.3 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1472, allocations: 4.062 kB / 362.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/0.1477, allocations: 131.8 kB / 362.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1477, allocations: 0 / 362.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.1477, allocations: 12 kB / 362.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1478, allocations: 4 kB / 362.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1478, allocations: 0 / 362.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.1488, allocations: 0.7146 MB / 363.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.1489, allocations: 112.7 kB / 363.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.149, allocations: 16 kB / 363.3 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.1492, allocations: 8 kB / 363.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.1493, allocations: 15.98 kB / 363.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.1493, allocations: 12 kB / 363.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.1495, allocations: 239.1 kB / 363.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1495, allocations: 3.938 kB / 363.6 MB, free: 7.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004463/0.15, allocations: 64 kB / 363.6 MB, free: 7.641 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.0001383/0.1501, allocations: 115.7 kB / 363.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.1506, allocations: 293.3 kB / 364 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1507, allocations: 0.5625 kB / 364 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/0.1507, allocations: 35.92 kB / 364 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007289/0.1515, allocations: 209.4 kB / 364.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.1529, allocations: 0.8924 MB / 365.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.1533, allocations: 0.8151 MB / 366 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1534, allocations: 31.44 kB / 366 MB, free: 5.184 MB / 302.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1534, allocations: 3.938 kB / 366 MB, free: 5.18 MB / 302.1 MB Notification: Performance of Templates: time 0.006447/0.1599, allocations: 3.881 MB / 369.9 MB, free: 1.305 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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 OMCppModelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnitCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnitCalcHelperMain.o] Error 1