Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.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.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 94.98 kB / 17.64 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 195.3 kB / 18.55 MB, free: 5.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002481/0.0002482, allocations: 4 kB / 307.3 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 51.49 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.002393/0.1327, allocations: 1.545 MB / 360.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.134, allocations: 0.5963 MB / 360.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1341, allocations: 7.938 kB / 360.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.1342, allocations: 15.8 kB / 361 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.1344, allocations: 27.78 kB / 361 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1347, allocations: 55.88 kB / 361 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.1349, allocations: 147.5 kB / 361.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1351, allocations: 53.5 kB / 361.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1353, allocations: 59.7 kB / 361.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1355, allocations: 67.62 kB / 361.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1355, allocations: 4 kB / 361.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-05/0.1356, allocations: 12 kB / 361.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.1357, allocations: 35.83 kB / 361.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.1358, allocations: 65.56 kB / 361.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.1359, allocations: 123.9 kB / 361.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.136, allocations: 4 kB / 361.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.136, allocations: 0 / 361.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.136, allocations: 0 / 361.6 MB, free: 11.09 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.001016/0.137, allocations: 494.5 kB / 362.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1371, allocations: 8.031 kB / 362.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.1373, allocations: 35.7 kB / 362.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.1376, allocations: 222.7 kB / 362.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.1377, allocations: 12.28 kB / 362.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.1377, allocations: 15.95 kB / 362.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.1381, allocations: 199.8 kB / 362.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1381, allocations: 0 / 362.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1382, allocations: 4 kB / 362.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.1382, allocations: 8 kB / 362.6 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.1385, allocations: 155.8 kB / 362.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.1397, allocations: 0.7936 MB / 363.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.14, allocations: 169 kB / 363.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.1402, allocations: 77.81 kB / 363.8 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.1402, allocations: 4 kB / 363.8 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.1405, allocations: 151.5 kB / 363.9 MB, free: 8.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.734e-06/0.1405, allocations: 0 / 363.9 MB, free: 8.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006276/0.1412, allocations: 265.5 kB / 364.2 MB, free: 8.297 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.1413, allocations: 81.11 kB / 364.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.1415, allocations: 203 kB / 364.4 MB, free: 7.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.1415, allocations: 25.7 kB / 364.5 MB, free: 7.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1416, allocations: 152 kB / 364.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.1417, allocations: 47.38 kB / 364.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.1417, allocations: 8 kB / 364.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1419, allocations: 330.8 kB / 365 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.142, allocations: 71.95 kB / 365.1 MB, free: 7.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.1422, allocations: 134.2 kB / 365.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1424, allocations: 83.97 kB / 365.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1424, allocations: 11.92 kB / 365.3 MB, free: 7.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004391/0.1429, allocations: 241.3 kB / 365.5 MB, free: 6.863 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.1429, allocations: 12.03 kB / 365.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1429, allocations: 0 / 365.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1429, allocations: 4 kB / 365.5 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.1431, allocations: 31.97 kB / 365.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1431, allocations: 7.938 kB / 365.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1433, allocations: 35.83 kB / 365.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1433, allocations: 11.98 kB / 365.6 MB, free: 6.762 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.000151/0.1435, allocations: 145.8 kB / 365.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1435, allocations: 23.69 kB / 365.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/0.1439, allocations: 215.8 kB / 366 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.144, allocations: 7.938 kB / 366 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.144, allocations: 4 kB / 366 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.144, allocations: 3.984 kB / 366 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.1443, allocations: 269.4 kB / 366.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1443, allocations: 4 kB / 366.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.1444, allocations: 19.98 kB / 366.3 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1444, allocations: 0 / 366.3 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1444, allocations: 7.984 kB / 366.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1444, allocations: 4.078 kB / 366.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1444, allocations: 7.984 kB / 366.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.1449, allocations: 241.6 kB / 366.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.145, allocations: 92.92 kB / 366.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.145, allocations: 96 / 366.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.1451, allocations: 35.91 kB / 366.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.1452, allocations: 11.98 kB / 366.7 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1452, allocations: 7.984 kB / 366.7 MB, free: 5.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1454, allocations: 144.4 kB / 366.9 MB, free: 5.434 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1454, allocations: 0 / 366.9 MB, free: 5.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1456, allocations: 43.84 kB / 366.9 MB, free: 5.391 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001624/0.1458, allocations: 103.9 kB / 367 MB, free: 5.281 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.1462, allocations: 179.8 kB / 367.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1462, allocations: 384 / 367.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.1464, allocations: 91.88 kB / 367.3 MB, free: 5.016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1467, allocations: 47.88 kB / 367.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007376/0.1475, allocations: 456.5 kB / 367.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1478, allocations: 0.736 MB / 368.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.1479, allocations: 23.44 kB / 368.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1479, allocations: 0 / 368.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of Templates: time 0.005259/0.1532, allocations: 2.377 MB / 370.9 MB, free: 1.344 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.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.Blocks.Examples.RealNetwork1CalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.RealNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.RealNetwork1CalcHelperMain.o] Error 1