Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 100.7 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.3 MB / 239.7 MB, free: 5.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 176.5 kB / 290.9 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03363/0.03363, allocations: 8.784 MB / 350.8 MB, free: 4.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 9.938 kB / 413.8 MB, free: 43.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1013, allocations: 52.56 MB / 466.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002293/0.1036, allocations: 1.844 MB / 468.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.1044, allocations: 471.1 kB / 468.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1045, allocations: 4 kB / 468.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1046, allocations: 23.84 kB / 468.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.217e-05/0.1047, allocations: 31.77 kB / 468.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.1048, allocations: 27.97 kB / 468.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.105, allocations: 151.4 kB / 468.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1052, allocations: 57.98 kB / 469 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.1053, allocations: 43.8 kB / 469 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.1054, allocations: 59.7 kB / 469.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1054, allocations: 4 kB / 469.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.269e-05/0.1054, allocations: 8 kB / 469.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.1055, allocations: 27.84 kB / 469.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.1055, allocations: 53.64 kB / 469.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.1056, allocations: 119.6 kB / 469.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1057, allocations: 4 kB / 469.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1057, allocations: 0 / 469.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1057, allocations: 4 kB / 469.3 MB, free: 10.63 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005712/0.1062, allocations: 434.7 kB / 469.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1063, allocations: 12.03 kB / 469.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.1063, allocations: 19.77 kB / 469.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.1066, allocations: 213.1 kB / 469.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1066, allocations: 8 kB / 469.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1066, allocations: 20 kB / 470 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.1069, allocations: 164.7 kB / 470.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.107, allocations: 0 / 470.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.107, allocations: 8 kB / 470.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.107, allocations: 7.953 kB / 470.1 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.1072, allocations: 100.7 kB / 470.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009222/0.1081, allocations: 0.7341 MB / 471 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1083, allocations: 86.53 kB / 471.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.1084, allocations: 40.84 kB / 471.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.1084, allocations: 0 / 471.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1085, allocations: 34.56 kB / 471.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.1085, allocations: 0 / 471.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002791/0.1088, allocations: 109.5 kB / 471.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1088, allocations: 51.41 kB / 471.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1089, allocations: 161 kB / 471.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.109, allocations: 29.64 kB / 471.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.1091, allocations: 131.6 kB / 471.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1091, allocations: 31.55 kB / 471.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.1091, allocations: 0 / 471.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1092, allocations: 322.8 kB / 472 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.1093, allocations: 27.98 kB / 472 MB, free: 7.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.1094, allocations: 64.27 kB / 472 MB, free: 7.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.262e-05/0.1095, allocations: 39.94 kB / 472.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1095, allocations: 0 / 472.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000229/0.1097, allocations: 141.4 kB / 472.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1097, allocations: 4 kB / 472.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1098, allocations: 0 / 472.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1098, allocations: 8 kB / 472.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1099, allocations: 32.05 kB / 472.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1099, allocations: 4 kB / 472.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.11, allocations: 11.91 kB / 472.3 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.11, allocations: 4 kB / 472.3 MB, free: 7.355 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001017/0.1101, allocations: 125.8 kB / 472.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1102, allocations: 11.86 kB / 472.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.1102, allocations: 16.7 kB / 472.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1102, allocations: 0 / 472.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1102, allocations: 4 kB / 472.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1102, allocations: 0 / 472.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.1105, allocations: 217.8 kB / 472.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1105, allocations: 4 kB / 472.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1106, allocations: 19.92 kB / 472.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1106, allocations: 3.938 kB / 472.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1106, allocations: 7.953 kB / 472.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1106, allocations: 0 / 472.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1106, allocations: 0 / 472.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.1109, allocations: 219.4 kB / 472.9 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.1109, allocations: 85.05 kB / 473 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.111, allocations: 4 kB / 473 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.1111, allocations: 15.94 kB / 473 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.1111, allocations: 64 / 473 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1111, allocations: 8 kB / 473 MB, free: 6.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.48e-05/0.1112, allocations: 117.7 kB / 473.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1112, allocations: 0 / 473.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1115, allocations: 31.84 kB / 473.2 MB, free: 6.391 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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 9.204e-05/0.1116, allocations: 99.72 kB / 473.3 MB, free: 6.285 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1118, allocations: 72.03 kB / 473.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1118, allocations: 0 / 473.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.1118, allocations: 31.97 kB / 473.4 MB, free: 6.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1122, allocations: 23.88 kB / 473.4 MB, free: 6.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.1128, allocations: 479.4 kB / 473.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1131, allocations: 0.7119 MB / 474.6 MB, free: 4.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.1131, allocations: 11.44 kB / 474.6 MB, free: 4.914 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1132, allocations: 8 kB / 474.6 MB, free: 4.906 MB / 302.1 MB Notification: Performance of Templates: time 0.002891/0.1161, allocations: 1.48 MB / 476.1 MB, free: 3.426 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.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 OMCppHanserModelica_HanserModelica.Electrical.SignalsCalcHelperMain.o OMCppHanserModelica_HanserModelica.Electrical.SignalsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Electrical.SignalsCalcHelperMain.o] Error 1