Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00141/0.001411, allocations: 91.23 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002407/0.002407, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.694/1.694, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 11.98 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002667/0.1259, allocations: 1.846 MB / 360.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1272, allocations: 0.593 MB / 361.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1273, allocations: 4 kB / 361.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.1275, allocations: 15.8 kB / 361.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.1278, allocations: 55.55 kB / 361.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.128, allocations: 63.86 kB / 361.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.1283, allocations: 243.1 kB / 361.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1285, allocations: 60.58 kB / 361.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1287, allocations: 103.4 kB / 361.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1289, allocations: 123.3 kB / 361.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.1289, allocations: 8 kB / 361.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.107e-05/0.129, allocations: 16 kB / 361.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.1291, allocations: 47.7 kB / 361.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.1291, allocations: 61.58 kB / 362 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.1293, allocations: 183.8 kB / 362.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1294, allocations: 0 / 362.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1294, allocations: 0 / 362.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1294, allocations: 0 / 362.2 MB, free: 10.72 MB / 302.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.001036/0.1304, allocations: 0.5724 MB / 362.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1305, allocations: 16.03 kB / 362.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.1305, allocations: 31.53 kB / 362.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.131, allocations: 307.3 kB / 363.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.131, allocations: 8.281 kB / 363.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.131, allocations: 23.95 kB / 363.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.1317, allocations: 371.5 kB / 363.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1317, allocations: 4 kB / 363.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1317, allocations: 4 kB / 363.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1317, allocations: 4 kB / 363.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.1319, allocations: 91.94 kB / 363.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.1326, allocations: 0.5363 MB / 364.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.1333, allocations: 323.5 kB / 364.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.1335, allocations: 146.2 kB / 364.6 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.1336, allocations: 11.92 kB / 364.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1336, allocations: 34.56 kB / 364.6 MB, free: 8.059 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.834e-06/0.1336, allocations: 0 / 364.6 MB, free: 8.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002285/0.1359, allocations: 1.312 MB / 366 MB, free: 6.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.136, allocations: 142.6 kB / 366.1 MB, free: 6.488 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.1364, allocations: 332.7 kB / 366.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.1365, allocations: 29.7 kB / 366.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/0.1366, allocations: 145.1 kB / 366.6 MB, free: 5.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.1366, allocations: 47.53 kB / 366.6 MB, free: 5.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.1366, allocations: 4 kB / 366.6 MB, free: 5.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1368, allocations: 350.8 kB / 367 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.137, allocations: 68.83 kB / 367 MB, free: 5.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.1373, allocations: 314.8 kB / 367.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.1376, allocations: 135.8 kB / 367.5 MB, free: 4.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.1376, allocations: 4 kB / 367.5 MB, free: 4.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007171/0.1383, allocations: 404.6 kB / 367.9 MB, free: 4.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.1384, allocations: 11.95 kB / 367.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.1384, allocations: 8.875 kB / 367.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.1384, allocations: 15.98 kB / 367.9 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.1387, allocations: 99.84 kB / 368 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/0.1387, allocations: 23.98 kB / 368 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.1389, allocations: 31.84 kB / 368.1 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.139, allocations: 20 kB / 368.1 MB, free: 4.328 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.0002014/0.1392, allocations: 165.6 kB / 368.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/0.1397, allocations: 289.6 kB / 368.5 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/0.1404, allocations: 379.5 kB / 368.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1404, allocations: 4 kB / 368.9 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1404, allocations: 4 kB / 368.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.1405, allocations: 3.984 kB / 368.9 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.1409, allocations: 325.2 kB / 369.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1409, allocations: 0 / 369.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.1414, allocations: 127.8 kB / 369.4 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1415, allocations: 7.938 kB / 369.4 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.1415, allocations: 8 kB / 369.4 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.1415, allocations: 11.94 kB / 369.4 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1415, allocations: 0 / 369.4 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.1425, allocations: 0.7185 MB / 370.1 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.1426, allocations: 112.8 kB / 370.2 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.1427, allocations: 11.94 kB / 370.2 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.1429, allocations: 15.98 kB / 370.2 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.143, allocations: 7.953 kB / 370.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.143, allocations: 15.98 kB / 370.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.1433, allocations: 243.1 kB / 370.5 MB, free: 1.805 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1433, allocations: 0 / 370.5 MB, free: 1.805 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004333/0.1437, allocations: 60 kB / 370.6 MB, free: 1.746 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.0001337/0.1438, allocations: 111.2 kB / 370.7 MB, free: 1.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.1444, allocations: 293.5 kB / 371 MB, free: 1.344 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1444, allocations: 0 / 371 MB, free: 1.344 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.365e-05/0.1445, allocations: 35.92 kB / 371 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007376/0.1452, allocations: 211.5 kB / 371.2 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1466, allocations: 0.8985 MB / 372.1 MB, free: 172 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2072/0.3538, allocations: 0.8042 MB / 372.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.3541, allocations: 32.58 kB / 372.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3541, allocations: 0 / 372.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of Templates: time 0.008822/0.3629, allocations: 3.875 MB / 376.8 MB, free: 18.78 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnitCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnitCalcHelperMain.o] Error 1