Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008038/0.0008038, allocations: 88.84 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009329/0.0009328, allocations: 197.8 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002895, allocations: 11.98 kB / 307.3 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006564/0.1566, allocations: 4.597 MB / 363.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01432/0.171, allocations: 8.327 MB / 371.7 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.1721, allocations: 19.88 kB / 371.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.1733, allocations: 302.4 kB / 372 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2921/0.4654, allocations: 0.6575 MB / 372.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.4679, allocations: 436.8 kB / 373.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00476/0.4727, allocations: 1.614 MB / 374.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.4731, allocations: 150.4 kB / 374.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005861/0.4736, allocations: 281.2 kB / 375.2 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.4741, allocations: 285.9 kB / 375.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.4742, allocations: 17 kB / 375.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.4762, allocations: 0.5923 MB / 376 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.4763, allocations: 86.02 kB / 376.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.4766, allocations: 197.5 kB / 376.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.4778, allocations: 0.8652 MB / 377.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4778, allocations: 2.547 kB / 377.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4779, allocations: 0 / 377.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4779, allocations: 2.719 kB / 377.2 MB, free: 8.855 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001736/0.4796, allocations: 1.154 MB / 378.3 MB, free: 8.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4797, allocations: 9.781 kB / 378.4 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.48, allocations: 125.7 kB / 378.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.4814, allocations: 0.8044 MB / 379.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.4814, allocations: 20.75 kB / 379.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.4815, allocations: 26.91 kB / 379.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.4821, allocations: 306.6 kB / 379.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4821, allocations: 0 / 379.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.4822, allocations: 8.766 kB / 379.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.4822, allocations: 6.609 kB / 379.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.4827, allocations: 244.8 kB / 379.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.4846, allocations: 1.185 MB / 381.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.485, allocations: 204 kB / 381.3 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.4854, allocations: 223.6 kB / 381.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009266/0.4946, allocations: 8.903 MB / 390.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.4947, allocations: 42.7 kB / 390.4 MB, free: 15.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.385e-06/0.4947, allocations: 0 / 390.4 MB, free: 15.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001819/0.4966, allocations: 0.6703 MB / 391.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.4966, allocations: 81.66 kB / 391.2 MB, free: 15.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.4978, allocations: 0.7939 MB / 392 MB, free: 14.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.4979, allocations: 26.77 kB / 392 MB, free: 14.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.4983, allocations: 442 kB / 392.4 MB, free: 14.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/0.4984, allocations: 85.2 kB / 392.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.4984, allocations: 4.719 kB / 392.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4986, allocations: 318.9 kB / 392.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.4987, allocations: 72.81 kB / 392.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.499, allocations: 151 kB / 393 MB, free: 14.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.4992, allocations: 89.5 kB / 393.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.4992, allocations: 1.312 kB / 393.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000746/0.4999, allocations: 404.3 kB / 393.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.5, allocations: 5.906 kB / 393.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.291e-05/0.5, allocations: 21.28 kB / 393.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004475/0.5005, allocations: 141.9 kB / 393.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.5007, allocations: 37.31 kB / 393.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008884/0.5016, allocations: 0.7093 MB / 394.4 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.5019, allocations: 24.78 kB / 394.5 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.502, allocations: 14.47 kB / 394.5 MB, free: 13.68 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003247/0.5023, allocations: 202.1 kB / 394.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.5025, allocations: 102.8 kB / 394.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009168/0.5034, allocations: 418.8 kB / 395.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.5034, allocations: 3.594 kB / 395.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5034, allocations: 1.125 kB / 395.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5034, allocations: 0 / 395.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/0.5042, allocations: 0.5114 MB / 395.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/0.5043, allocations: 14.98 kB / 395.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.5044, allocations: 21.11 kB / 395.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002885/0.5047, allocations: 134.7 kB / 395.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.5047, allocations: 8.531 kB / 395.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006795/0.5054, allocations: 0.7105 MB / 396.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5054, allocations: 0.6875 kB / 396.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006544/0.5061, allocations: 457.7 kB / 397 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.5063, allocations: 178.6 kB / 397.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/0.5064, allocations: 1.156 kB / 397.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.5066, allocations: 6.875 kB / 397.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.5067, allocations: 16.52 kB / 397.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.5067, allocations: 8.062 kB / 397.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007873/0.5075, allocations: 0.5316 MB / 397.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5075, allocations: 1.156 kB / 397.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000798/0.5083, allocations: 193 kB / 398 MB, free: 12.19 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000608/0.5089, allocations: 288.2 kB / 398.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007582/0.5097, allocations: 277.1 kB / 398.5 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5097, allocations: 5.469 kB / 398.5 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.5101, allocations: 178.3 kB / 398.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.5109, allocations: 157.8 kB / 398.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.5131, allocations: 1.431 MB / 400.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/0.5138, allocations: 0.9428 MB / 401.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.5139, allocations: 49.94 kB / 401.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5139, allocations: 0 / 401.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of Templates: time 0.02103/0.535, allocations: 14.31 MB / 415.6 MB, free: 14.76 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.Electrical.Spice3.Examples.CascodeCircuitCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuitCalcHelperMain.o] Error 1