Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008085/0.0008086, allocations: 97.08 kB / 16.33 MB, free: 5.938 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.0008995/0.0008995, allocations: 187.1 kB / 17.22 MB, free: 5.883 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.642/1.642, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3954/0.3954, allocations: 43.53 MB / 315.2 MB, free: 8.844 MB / 254.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.0004747/0.0004747, allocations: 15.98 kB / 384.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 58.85 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002568/0.124, allocations: 2.195 MB / 445.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1252, allocations: 0.7454 MB / 446.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1253, allocations: 8 kB / 446.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.1255, allocations: 43.64 kB / 446.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.1257, allocations: 83.42 kB / 446.5 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.126, allocations: 87.84 kB / 446.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.1264, allocations: 378.5 kB / 446.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.1266, allocations: 111.2 kB / 447 MB, free: 9.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.1268, allocations: 127.5 kB / 447.2 MB, free: 9.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.127, allocations: 147.3 kB / 447.3 MB, free: 9.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.127, allocations: 16 kB / 447.3 MB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.996e-05/0.1271, allocations: 24 kB / 447.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.1272, allocations: 51.77 kB / 447.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.814e-05/0.1272, allocations: 89.52 kB / 447.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.1275, allocations: 311 kB / 447.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1275, allocations: 3.938 kB / 447.8 MB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1275, allocations: 0 / 447.8 MB, free: 8.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1276, allocations: 0 / 447.8 MB, free: 8.633 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009698/0.1285, allocations: 0.6122 MB / 448.4 MB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1286, allocations: 12.03 kB / 448.4 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.545e-05/0.1287, allocations: 55.33 kB / 448.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.129, allocations: 271.3 kB / 448.7 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.1291, allocations: 25 kB / 448.8 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.1291, allocations: 28 kB / 448.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.1298, allocations: 370.7 kB / 449.1 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1298, allocations: 0 / 449.1 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.1299, allocations: 15.95 kB / 449.2 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.1299, allocations: 8 kB / 449.2 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.1305, allocations: 284.9 kB / 449.4 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.1325, allocations: 1.359 MB / 450.8 MB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.133, allocations: 210.5 kB / 451 MB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.1332, allocations: 95.56 kB / 451.1 MB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.1332, allocations: 0 / 451.1 MB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.1333, allocations: 46.55 kB / 451.2 MB, free: 5.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.1333, allocations: 0 / 451.2 MB, free: 5.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007438/0.134, allocations: 277.2 kB / 451.4 MB, free: 4.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.1341, allocations: 136.5 kB / 451.6 MB, free: 4.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.1345, allocations: 324.4 kB / 451.9 MB, free: 4.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1345, allocations: 33.64 kB / 451.9 MB, free: 4.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.1347, allocations: 231.7 kB / 452.1 MB, free: 3.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.1347, allocations: 55.2 kB / 452.2 MB, free: 3.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.1348, allocations: 4 kB / 452.2 MB, free: 3.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1349, allocations: 350.8 kB / 452.5 MB, free: 3.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.1352, allocations: 88.5 kB / 452.6 MB, free: 3.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.1355, allocations: 176.2 kB / 452.8 MB, free: 3.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.1357, allocations: 111.8 kB / 452.9 MB, free: 3.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1357, allocations: 0 / 452.9 MB, free: 3.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006059/0.1363, allocations: 333.1 kB / 453.2 MB, free: 2.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1364, allocations: 8 kB / 453.2 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1364, allocations: 4 kB / 453.2 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1364, allocations: 4.281 kB / 453.2 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.1368, allocations: 103.9 kB / 453.3 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.1368, allocations: 7.938 kB / 453.4 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.1371, allocations: 56.14 kB / 453.4 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1371, allocations: 8 kB / 453.4 MB, free: 2.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.00015/0.1372, allocations: 157.7 kB / 453.6 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.1373, allocations: 35.69 kB / 453.6 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.1374, allocations: 38.34 kB / 453.6 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1374, allocations: 0 / 453.6 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.1375, allocations: 8 kB / 453.6 MB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1375, allocations: 0 / 453.6 MB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007908/0.1383, allocations: 0.5914 MB / 454.2 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1383, allocations: 4 kB / 454.2 MB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.1385, allocations: 67.88 kB / 454.3 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1386, allocations: 4.156 kB / 454.3 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1386, allocations: 12 kB / 454.3 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1386, allocations: 3.953 kB / 454.3 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1386, allocations: 4 kB / 454.3 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.1391, allocations: 418.5 kB / 454.7 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.1392, allocations: 108.8 kB / 454.8 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.1393, allocations: 4 kB / 454.9 MB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.1395, allocations: 19.98 kB / 454.9 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.1395, allocations: 15.94 kB / 454.9 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.1396, allocations: 8 kB / 454.9 MB, free: 1.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.1398, allocations: 223.1 kB / 455.1 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1398, allocations: 0 / 455.1 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003775/0.1402, allocations: 79.73 kB / 455.2 MB, free: 0.7266 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.0001022/0.1403, allocations: 99.19 kB / 455.3 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004957/0.1408, allocations: 208.1 kB / 455.5 MB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1408, allocations: 12 kB / 455.5 MB, free: 416 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.141, allocations: 79.89 kB / 455.6 MB, free: 336 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.1415, allocations: 25.42 kB / 455.6 MB, free: 308 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2066/0.3481, allocations: 0.6909 MB / 456.3 MB, free: 46.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.3484, allocations: 0.7686 MB / 457.1 MB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3485, allocations: 22.41 kB / 457.1 MB, free: 45.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3485, allocations: 0.75 kB / 457.1 MB, free: 45.59 MB / 382.1 MB Notification: Performance of Templates: time 0.004437/0.3529, allocations: 3.073 MB / 460.2 MB, free: 45.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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 OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.SourcesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.SourcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.SourcesCalcHelperMain.o] Error 1