Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand.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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand") translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 91.2 kB / 17.58 MB, free: 5.797 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.001588/0.001587, allocations: 181.2 kB / 18.48 MB, free: 5.254 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.833/1.833, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004872/0.0004873, allocations: 15.98 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 47.57 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01041/0.1231, allocations: 11.82 MB / 340.8 MB, free: 8.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02047/0.1437, allocations: 17.57 MB / 358.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.1459, allocations: 59.5 kB / 358.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.1486, allocations: 0.8399 MB / 359.3 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007969/0.1566, allocations: 1.789 MB / 361 MB, free: 3.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0051/0.1617, allocations: 1.057 MB / 362.1 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.1733, allocations: 5.824 MB / 367.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.1745, allocations: 403.2 kB / 368.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.1765, allocations: 0.8124 MB / 369.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.1776, allocations: 0.9357 MB / 370.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.1777, allocations: 40 kB / 370.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/0.1821, allocations: 1.077 MB / 371.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.1824, allocations: 266 kB / 371.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008146/0.1832, allocations: 0.5936 MB / 372 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.186, allocations: 2.621 MB / 374.7 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.186, allocations: 0 / 374.7 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1861, allocations: 0 / 374.7 MB, free: 6.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.069e-05/0.1861, allocations: 0 / 374.7 MB, free: 6.203 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.004412/0.1905, allocations: 3.123 MB / 377.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1906, allocations: 8.031 kB / 377.8 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.191, allocations: 379.4 kB / 378.2 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/0.1945, allocations: 2.387 MB / 380.6 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.1945, allocations: 33 kB / 380.6 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.1947, allocations: 44 kB / 380.6 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2184/0.413, allocations: 0.72 MB / 381.3 MB, free: 53.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.4131, allocations: 1.906 kB / 381.4 MB, free: 53.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/0.4132, allocations: 17.97 kB / 381.4 MB, free: 53.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/0.4132, allocations: 24.2 kB / 381.4 MB, free: 53.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.415, allocations: 0.8279 MB / 382.2 MB, free: 53.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005961/0.421, allocations: 2.913 MB / 385.1 MB, free: 51.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.4225, allocations: 0.7333 MB / 385.9 MB, free: 51.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.4239, allocations: 0.6779 MB / 386.5 MB, free: 51.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02598/0.4499, allocations: 30.19 MB / 416.7 MB, free: 24.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006624/0.4506, allocations: 380.6 kB / 417.1 MB, free: 24.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.915e-06/0.4506, allocations: 0 / 417.1 MB, free: 24.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.002883/0.4535, allocations: 1.495 MB / 418.6 MB, free: 23.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.4536, allocations: 59.34 kB / 418.7 MB, free: 23.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.4563, allocations: 2.785 MB / 421.4 MB, free: 20.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.4564, allocations: 33.7 kB / 421.5 MB, free: 20.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008904/0.4573, allocations: 1.391 MB / 422.9 MB, free: 18.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4574, allocations: 171.7 kB / 423 MB, free: 18.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.4575, allocations: 20 kB / 423.1 MB, free: 18.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.4575, allocations: 340 kB / 423.4 MB, free: 18.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.458, allocations: 253.9 kB / 423.6 MB, free: 18.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.4586, allocations: 0.6125 MB / 424.2 MB, free: 17.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.4592, allocations: 332.1 kB / 424.6 MB, free: 16.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4592, allocations: 4 kB / 424.6 MB, free: 16.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001714/0.4609, allocations: 1.314 MB / 425.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.4609, allocations: 12 kB / 425.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.535e-05/0.461, allocations: 80 kB / 426 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004579/0.4615, allocations: 288.1 kB / 426.3 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.462, allocations: 179.7 kB / 426.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007205/0.4627, allocations: 0.8829 MB / 427.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009062/0.4637, allocations: 118.9 kB / 427.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.287e-05/0.4637, allocations: 64 kB / 427.5 MB, free: 13.96 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin1.counter,vin1.counter,$PRE.vin2.counter,vin2.counter,$whenCondition2,$whenCondition1,$PRE.vin1.T0,vin1.T0,$PRE.vin1.counter2,vin1.counter2,$PRE.vin2.T0,vin2.T0,$PRE.vin2.counter2,vin2.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006445/0.4644, allocations: 421.6 kB / 427.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.4647, allocations: 367.5 kB / 428.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.4673, allocations: 1.324 MB / 429.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4673, allocations: 4 kB / 429.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4673, allocations: 4 kB / 429.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4673, allocations: 7.984 kB / 429.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.4702, allocations: 2.221 MB / 431.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.161e-05/0.4703, allocations: 71.98 kB / 431.9 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.4706, allocations: 76.75 kB / 432 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/0.4709, allocations: 262.5 kB / 432.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.471, allocations: 28 kB / 432.3 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006698/0.4717, allocations: 0.8794 MB / 433.1 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4717, allocations: 3.938 kB / 433.1 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.4731, allocations: 1.173 MB / 434.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005163/0.4737, allocations: 464.4 kB / 434.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.4739, allocations: 9.812 kB / 434.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/0.4745, allocations: 43.95 kB / 434.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4746, allocations: 67.88 kB / 434.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.4747, allocations: 43.95 kB / 434.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00173/0.4764, allocations: 1.801 MB / 436.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4764, allocations: 0 / 436.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001254/0.4777, allocations: 0.5661 MB / 437.3 MB, free: 4 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2) * Number of discrete states: 4 (vin1.counter2,vin2.counter2,vin1.counter,vin2.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/0.4787, allocations: 0.7548 MB / 438 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.4802, allocations: 0.8813 MB / 438.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.4802, allocations: 0 / 438.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007503/0.481, allocations: 0.5137 MB / 439.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.4824, allocations: 493 kB / 439.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.4881, allocations: 4.512 MB / 444.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.4893, allocations: 1.613 MB / 446 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.4896, allocations: 167.4 kB / 446.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4896, allocations: 0 / 446.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of Templates: time 0.06886/0.5584, allocations: 47.68 MB / 493.9 MB, free: 11.38 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nand.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_3.2.3_Modelica.Electrical.Spice3.Examples.NandCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.NandCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.NandCalcHelperMain.o] Error 1