Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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) 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(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001552, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001738/0.001738, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.901/1.901, allocations: 205.1 MB / 224.6 MB, free: 12.47 MB / 190.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.00127/0.00127, allocations: 47.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1577, allocations: 46.63 MB / 327.2 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.007467/0.1652, allocations: 5.145 MB / 332.4 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.1794, allocations: 8.819 MB / 341.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.1809, allocations: 23.81 kB / 341.2 MB, free: 6.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.1827, allocations: 326.2 kB / 341.6 MB, free: 6.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004681/0.1874, allocations: 0.6872 MB / 342.2 MB, free: 5.828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.1902, allocations: 457.9 kB / 342.7 MB, free: 5.379 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003703/0.1939, allocations: 1.611 MB / 344.3 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006193/0.1945, allocations: 163.4 kB / 344.5 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007958/0.1954, allocations: 266.6 kB / 344.7 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.1958, allocations: 310 kB / 345 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.56e-05/0.1959, allocations: 20 kB / 345 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.198, allocations: 0.5503 MB / 345.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.1982, allocations: 95.33 kB / 345.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.1987, allocations: 393.5 kB / 346.1 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.2004, allocations: 0.8728 MB / 346.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.2004, allocations: 0 / 346.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2004, allocations: 3.938 kB / 346.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.2004, allocations: 0 / 346.9 MB, free: 1.094 MB / 286.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.002768/0.2032, allocations: 1.275 MB / 348.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/0.2033, allocations: 8.031 kB / 348.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.2035, allocations: 115.6 kB / 348.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.2051, allocations: 0.8476 MB / 349.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.2051, allocations: 20.56 kB / 349.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.2052, allocations: 24 kB / 349.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.2058, allocations: 311.6 kB / 349.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.2059, allocations: 0 / 349.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.2059, allocations: 8 kB / 349.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.2059, allocations: 15.94 kB / 349.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.2064, allocations: 234.1 kB / 349.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.2087, allocations: 1.19 MB / 351 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.2092, allocations: 190.7 kB / 351.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.2096, allocations: 225.2 kB / 351.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.012/0.2216, allocations: 8.569 MB / 360 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.2217, allocations: 34.56 kB / 360 MB, free: 2.434 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.665e-06/0.2217, allocations: 0 / 360 MB, free: 2.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001859/0.2236, allocations: 0.6619 MB / 360.6 MB, free: 1.746 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.2237, allocations: 77.11 kB / 360.7 MB, free: 1.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.225, allocations: 0.8026 MB / 361.5 MB, free: 0.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.2251, allocations: 25.7 kB / 361.6 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.2255, allocations: 444.7 kB / 362 MB, free: 372 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/0.2256, allocations: 82.75 kB / 362.1 MB, free: 288 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.2258, allocations: 53.94 kB / 362.1 MB, free: 228 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.226, allocations: 321.9 kB / 362.4 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2261, allocations: 64.2 kB / 362.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.2264, allocations: 146.4 kB / 362.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.2267, allocations: 233.1 kB / 362.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.2268, allocations: 3.938 kB / 362.9 MB, free: 15.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006826/0.2275, allocations: 408.8 kB / 363.3 MB, free: 14.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.2275, allocations: 4 kB / 363.3 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/0.2275, allocations: 19.94 kB / 363.3 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/0.228, allocations: 141.1 kB / 363.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.2282, allocations: 35.91 kB / 363.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009776/0.2292, allocations: 0.7079 MB / 364.2 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.2295, allocations: 35.67 kB / 364.2 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.2295, allocations: 20.06 kB / 364.2 MB, free: 14.01 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002851/0.2298, allocations: 194 kB / 364.4 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.2299, allocations: 102.8 kB / 364.5 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008821/0.2308, allocations: 407.6 kB / 364.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2309, allocations: 0 / 364.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.2309, allocations: 0 / 364.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.2309, allocations: 3.984 kB / 364.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006634/0.2316, allocations: 0.5073 MB / 365.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/0.2316, allocations: 8 kB / 365.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.2317, allocations: 35.84 kB / 365.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002813/0.232, allocations: 136.8 kB / 365.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.232, allocations: 8 kB / 365.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006657/0.2327, allocations: 0.7007 MB / 366.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2327, allocations: 0 / 366.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.2333, allocations: 459.8 kB / 366.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.2335, allocations: 167.9 kB / 366.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.24e-05/0.2336, allocations: 4 kB / 366.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.2338, allocations: 7.984 kB / 366.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.2339, allocations: 19.92 kB / 367 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.2339, allocations: 8 kB / 367 MB, free: 11.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007201/0.2347, allocations: 0.5423 MB / 367.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2347, allocations: 4 kB / 367.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006732/0.2354, allocations: 195.7 kB / 367.7 MB, free: 10.38 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006784/0.236, allocations: 303.4 kB / 368 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006537/0.2367, allocations: 279.7 kB / 368.3 MB, free: 9.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2367, allocations: 4 kB / 368.3 MB, free: 9.789 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.237, allocations: 175.3 kB / 368.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.2377, allocations: 124.3 kB / 368.6 MB, free: 9.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.2401, allocations: 1.502 MB / 370.1 MB, free: 7.945 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.2408, allocations: 0.9452 MB / 371 MB, free: 6.973 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.2409, allocations: 51.42 kB / 371.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2409, allocations: 0 / 371.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of Templates: time 0.315/0.556, allocations: 14.31 MB / 385.4 MB, free: 53.52 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuitCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuitCalcHelperMain.o] Error 1