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.001363/0.001363, allocations: 96.09 kB / 17.96 MB, free: 5.77 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.00163/0.00163, allocations: 182.9 kB / 18.86 MB, free: 4.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.309/2.309, allocations: 205.4 MB / 225 MB, free: 13.08 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.0006198/0.0006198, allocations: 12 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1792, allocations: 47.58 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.009457/0.1887, allocations: 4.751 MB / 334.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02227/0.2111, allocations: 8.675 MB / 343 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.2127, allocations: 19.81 kB / 343.1 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.2147, allocations: 334.2 kB / 343.4 MB, free: 5.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006405/0.2211, allocations: 0.6794 MB / 344.1 MB, free: 5.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004248/0.2254, allocations: 461.9 kB / 344.5 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006254/0.2317, allocations: 1.615 MB / 346.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006644/0.2324, allocations: 155.6 kB / 346.3 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.2335, allocations: 266.6 kB / 346.5 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.2347, allocations: 302 kB / 346.8 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.2349, allocations: 16 kB / 346.8 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004229/0.2392, allocations: 0.5425 MB / 347.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.2394, allocations: 87.33 kB / 347.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.2409, allocations: 419.2 kB / 347.9 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.243, allocations: 0.8531 MB / 348.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.243, allocations: 0 / 348.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.2431, allocations: 0 / 348.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.936e-05/0.2431, allocations: 4 kB / 348.7 MB, free: 0.5391 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.003195/0.2463, allocations: 1.147 MB / 349.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.46e-05/0.2464, allocations: 8.031 kB / 349.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004664/0.2469, allocations: 111.6 kB / 350 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.2494, allocations: 0.8476 MB / 350.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/0.2495, allocations: 24.56 kB / 350.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.2496, allocations: 27.91 kB / 350.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008216/0.2504, allocations: 311.6 kB / 351.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2504, allocations: 0 / 351.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.2505, allocations: 12 kB / 351.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.2505, allocations: 12 kB / 351.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006249/0.2512, allocations: 238.1 kB / 351.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.2543, allocations: 1.194 MB / 352.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.2548, allocations: 194.7 kB / 352.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/0.2553, allocations: 228.9 kB / 353.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.2672, allocations: 8.585 MB / 361.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.2673, allocations: 38.56 kB / 361.7 MB, free: 1.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 3.417e-06/0.2673, allocations: 0 / 361.7 MB, free: 1.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.002032/0.2694, allocations: 0.6738 MB / 362.4 MB, free: 1.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.2695, allocations: 85.05 kB / 362.4 MB, free: 1.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.271, allocations: 0.7947 MB / 363.2 MB, free: 368 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.2711, allocations: 33.7 kB / 363.3 MB, free: 328 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006339/0.2717, allocations: 432.8 kB / 363.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.2718, allocations: 90.75 kB / 363.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.2719, allocations: 21.72 kB / 363.8 MB, free: 15.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.2721, allocations: 321.9 kB / 364.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.2723, allocations: 68.2 kB / 364.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.2726, allocations: 150.4 kB / 364.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.2731, allocations: 228.9 kB / 364.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2731, allocations: 3.938 kB / 364.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008951/0.274, allocations: 412.9 kB / 365 MB, free: 14.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.2741, allocations: 4 kB / 365 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.372e-05/0.2741, allocations: 19.98 kB / 365 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.2746, allocations: 145 kB / 365.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.2749, allocations: 35.91 kB / 365.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009371/0.2758, allocations: 0.7077 MB / 365.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/0.2762, allocations: 35.73 kB / 365.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.2763, allocations: 16 kB / 365.9 MB, free: 13.55 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.0003774/0.2767, allocations: 194 kB / 366.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.2769, allocations: 102.8 kB / 366.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.2779, allocations: 411.3 kB / 366.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.278, allocations: 4 kB / 366.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.278, allocations: 0 / 366.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.278, allocations: 0 / 366.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.2789, allocations: 0.5034 MB / 367.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-05/0.279, allocations: 19.98 kB / 367.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.2791, allocations: 23.92 kB / 367.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/0.2795, allocations: 128.8 kB / 367.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.2795, allocations: 15.98 kB / 367.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009833/0.2805, allocations: 0.6967 MB / 368 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2806, allocations: 3.969 kB / 368 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.2816, allocations: 464.2 kB / 368.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005578/0.2822, allocations: 175.8 kB / 368.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.2823, allocations: 15.98 kB / 368.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.2826, allocations: 4 kB / 368.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.2827, allocations: 19.92 kB / 368.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.2827, allocations: 8 kB / 368.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.2837, allocations: 0.5423 MB / 369.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2838, allocations: 0 / 369.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009253/0.2847, allocations: 191.8 kB / 369.4 MB, free: 9.918 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.0008988/0.2856, allocations: 303.4 kB / 369.7 MB, free: 9.613 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007978/0.2864, allocations: 287.2 kB / 370 MB, free: 9.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.2864, allocations: 0 / 370 MB, free: 9.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.2868, allocations: 183.8 kB / 370.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008033/0.2876, allocations: 128.3 kB / 370.3 MB, free: 9.004 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.2911, allocations: 1.53 MB / 371.8 MB, free: 7.438 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009125/0.292, allocations: 0.9451 MB / 372.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.2922, allocations: 55.42 kB / 372.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of SimCode: time 1.252e-06/0.2922, allocations: 0 / 372.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of Templates: time 0.3262/0.6185, allocations: 14.22 MB / 387 MB, free: 50.77 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