Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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 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_4.0.0_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_4.0.0_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.0008577/0.0008579, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.0008699/0.0008704, allocations: 176.3 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 223.2 MB / 241.8 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004318, allocations: 8 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 50.41 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006688/0.1542, allocations: 4.584 MB / 356.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.1672, allocations: 8.28 MB / 364.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007264/0.168, allocations: 23.81 kB / 364.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008294/0.1688, allocations: 306.4 kB / 365 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.1713, allocations: 0.66 MB / 365.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.1728, allocations: 442 kB / 366.1 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002449/0.1752, allocations: 1.584 MB / 367.7 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.1755, allocations: 138.3 kB / 367.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.1759, allocations: 274.6 kB / 368.1 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.1762, allocations: 294.2 kB / 368.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.1763, allocations: 16 kB / 368.4 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.1776, allocations: 0.5813 MB / 369 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.1776, allocations: 79.45 kB / 369.1 MB, free: 2.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.1778, allocations: 209.1 kB / 369.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009106/0.1788, allocations: 0.8569 MB / 370.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1788, allocations: 0 / 370.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1788, allocations: 0 / 370.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1788, allocations: 0 / 370.1 MB, free: 1.656 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.00163/0.1804, allocations: 1.143 MB / 371.3 MB, free: 472 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1805, allocations: 12.03 kB / 371.3 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.1806, allocations: 110.7 kB / 371.4 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2373/0.418, allocations: 0.804 MB / 372.2 MB, free: 25.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.4181, allocations: 18.16 kB / 372.2 MB, free: 25.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/0.4181, allocations: 26.03 kB / 372.3 MB, free: 25.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.4189, allocations: 309.4 kB / 372.6 MB, free: 25.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4189, allocations: 1.203 kB / 372.6 MB, free: 25.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.4189, allocations: 10 kB / 372.6 MB, free: 25.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.419, allocations: 7.094 kB / 372.6 MB, free: 25.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.4195, allocations: 240.8 kB / 372.8 MB, free: 25.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.4216, allocations: 1.188 MB / 374 MB, free: 24.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.422, allocations: 202.6 kB / 374.2 MB, free: 24.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000385/0.4224, allocations: 232.9 kB / 374.4 MB, free: 24.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007884/0.4303, allocations: 8.585 MB / 383 MB, free: 17.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.4304, allocations: 36.58 kB / 383 MB, free: 17.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 3.075e-06/0.4304, allocations: 0 / 383 MB, free: 17.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001834/0.4323, allocations: 0.671 MB / 383.7 MB, free: 16.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.4323, allocations: 79.31 kB / 383.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.4334, allocations: 0.789 MB / 384.6 MB, free: 16.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.4335, allocations: 32.69 kB / 384.6 MB, free: 16.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.4339, allocations: 442.7 kB / 385 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.4339, allocations: 74.73 kB / 385.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.4339, allocations: 4 kB / 385.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.434, allocations: 317.5 kB / 385.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.4342, allocations: 69.11 kB / 385.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.4344, allocations: 155.6 kB / 385.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.4346, allocations: 86.25 kB / 385.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4346, allocations: 2.016 kB / 385.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000666/0.4353, allocations: 418 kB / 386.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.4353, allocations: 7.266 kB / 386.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.415e-05/0.4354, allocations: 14.7 kB / 386.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.4358, allocations: 145.3 kB / 386.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.436, allocations: 37.75 kB / 386.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005627/0.4366, allocations: 0.7 MB / 387 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.4368, allocations: 37.73 kB / 387.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.4369, allocations: 17.31 kB / 387.1 MB, free: 14.57 MB / 302.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.0002541/0.4371, allocations: 194.2 kB / 387.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.4373, allocations: 103 kB / 387.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.4381, allocations: 416.3 kB / 387.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.4381, allocations: 6.656 kB / 387.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4381, allocations: 6.938 kB / 387.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.4382, allocations: 5.391 kB / 387.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007089/0.4389, allocations: 0.5007 MB / 388.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/0.4389, allocations: 16.69 kB / 388.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.439, allocations: 22.58 kB / 388.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.4393, allocations: 135.7 kB / 388.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.4394, allocations: 6.188 kB / 388.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004893/0.4399, allocations: 0.7008 MB / 389.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4399, allocations: 0 / 389.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.4404, allocations: 456 kB / 389.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.4406, allocations: 172.6 kB / 389.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.4407, allocations: 9.875 kB / 389.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.4409, allocations: 8.391 kB / 389.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.441, allocations: 16.25 kB / 389.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.441, allocations: 9.344 kB / 389.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007049/0.4417, allocations: 0.5327 MB / 390.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4417, allocations: 0 / 390.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006534/0.4424, allocations: 195.7 kB / 390.6 MB, free: 12.51 MB / 302.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.0004538/0.4428, allocations: 279.7 kB / 390.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005945/0.4434, allocations: 288.4 kB / 391.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4434, allocations: 0 / 391.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.4437, allocations: 183.6 kB / 391.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.4444, allocations: 166.4 kB / 391.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.4463, allocations: 1.425 MB / 392.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.4468, allocations: 0.9433 MB / 393.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.58e-05/0.4469, allocations: 57.81 kB / 393.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4469, allocations: 1.25 kB / 393.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of Templates: time 0.01857/0.4654, allocations: 14.26 MB / 408.2 MB, free: 15.54 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuitCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuitCalcHelperMain.o] Error 1