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.001389/0.001389, allocations: 91.05 kB / 17.95 MB, free: 5.625 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.002445/0.002445, allocations: 180.6 kB / 18.86 MB, free: 4.77 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.14/2.14, allocations: 205.4 MB / 225 MB, free: 13.07 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.000542/0.0005414, allocations: 16 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1456, allocations: 47.59 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01323/0.1589, allocations: 12.71 MB / 342.3 MB, free: 6.992 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02721/0.1861, allocations: 19.19 MB / 361.5 MB, free: 3.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003379/0.1896, allocations: 67.44 kB / 361.6 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004303/0.1939, allocations: 0.9709 MB / 362.5 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0137/0.2076, allocations: 1.872 MB / 364.4 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00764/0.2153, allocations: 1.149 MB / 365.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01359/0.229, allocations: 6.105 MB / 371.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.2302, allocations: 408.9 kB / 372.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.2325, allocations: 0.8976 MB / 373 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.2337, allocations: 0.9895 MB / 374 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.2338, allocations: 40 kB / 374 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005575/0.2394, allocations: 1.128 MB / 375.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.2398, allocations: 285.7 kB / 375.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.2415, allocations: 1.298 MB / 376.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003551/0.245, allocations: 2.621 MB / 379.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.245, allocations: 0 / 379.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.568e-06/0.2451, allocations: 8 kB / 379.3 MB, free: 1.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.535e-05/0.2451, allocations: 0 / 379.3 MB, free: 1.797 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.3315/0.5766, allocations: 3.081 MB / 382.4 MB, free: 52.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.424e-05/0.5767, allocations: 12.59 kB / 382.4 MB, free: 52.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.5781, allocations: 376.4 kB / 382.8 MB, free: 52.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00787/0.586, allocations: 2.537 MB / 385.3 MB, free: 51.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/0.5861, allocations: 34.72 kB / 385.4 MB, free: 51.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.5864, allocations: 49.91 kB / 385.4 MB, free: 51.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.5887, allocations: 0.728 MB / 386.1 MB, free: 51.53 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.5887, allocations: 0 / 386.1 MB, free: 51.53 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/0.5888, allocations: 21.77 kB / 386.2 MB, free: 51.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/0.5889, allocations: 20.94 kB / 386.2 MB, free: 51.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.5911, allocations: 0.8336 MB / 387 MB, free: 51.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009057/0.6001, allocations: 2.914 MB / 389.9 MB, free: 49.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.6019, allocations: 0.7416 MB / 390.7 MB, free: 49.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.6031, allocations: 0.6789 MB / 391.3 MB, free: 49.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02943/0.6325, allocations: 30.19 MB / 421.5 MB, free: 20.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007906/0.6334, allocations: 380.7 kB / 421.9 MB, free: 19.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.575e-06/0.6334, allocations: 3.938 kB / 421.9 MB, free: 19.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.003949/0.6374, allocations: 1.464 MB / 423.4 MB, free: 18.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.6374, allocations: 56.03 kB / 423.4 MB, free: 18.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.6411, allocations: 2.816 MB / 426.2 MB, free: 15.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.363e-05/0.6412, allocations: 41.69 kB / 426.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.6425, allocations: 1.389 MB / 427.7 MB, free: 14.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.6427, allocations: 164.6 kB / 427.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.6428, allocations: 73.67 kB / 427.9 MB, free: 13.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.643, allocations: 342.5 kB / 428.2 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005721/0.6436, allocations: 261.5 kB / 428.5 MB, free: 13.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008112/0.6444, allocations: 0.6118 MB / 429.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.6459, allocations: 0.9188 MB / 430 MB, free: 11.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.6459, allocations: 4 kB / 430 MB, free: 11.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003066/0.649, allocations: 1.333 MB / 431.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.6491, allocations: 8 kB / 431.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/0.6492, allocations: 84 kB / 431.5 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/0.6498, allocations: 273 kB / 431.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.6504, allocations: 181.2 kB / 431.9 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009317/0.6514, allocations: 0.8941 MB / 432.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.6534, allocations: 119 kB / 432.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.6536, allocations: 64 kB / 433 MB, free: 8.441 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 (vin1.counter,$PRE.vin1.counter,vin2.counter,$PRE.vin2.counter,vin2.counter2,$PRE.vin2.counter2,vin2.T0,$PRE.vin2.T0,vin1.counter2,$PRE.vin1.counter2,vin1.T0,$PRE.vin1.T0,$whenCondition1,$whenCondition2) * 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 (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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.6546, allocations: 422.4 kB / 433.4 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005294/0.6552, allocations: 367.5 kB / 433.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.6581, allocations: 1.318 MB / 435.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.6582, allocations: 4 kB / 435.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6582, allocations: 0 / 435.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.6582, allocations: 7.984 kB / 435.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/0.6623, allocations: 2.242 MB / 437.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.294e-05/0.6624, allocations: 71.98 kB / 437.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.6627, allocations: 67.89 kB / 437.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004286/0.6632, allocations: 267.7 kB / 437.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.6632, allocations: 31.98 kB / 437.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007915/0.664, allocations: 0.8761 MB / 438.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.6641, allocations: 4.031 kB / 438.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.6661, allocations: 1.18 MB / 439.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.6671, allocations: 460.5 kB / 440.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.6674, allocations: 8 kB / 440.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.6681, allocations: 50.28 kB / 440.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.6682, allocations: 63.88 kB / 440.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/0.6683, allocations: 39.98 kB / 440.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002587/0.6709, allocations: 1.832 MB / 442.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6709, allocations: 0 / 442.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001974/0.6729, allocations: 0.57 MB / 442.8 MB, free: 14.45 MB / 334.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 (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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0015/0.6744, allocations: 0.7775 MB / 443.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.6765, allocations: 0.8856 MB / 444.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6766, allocations: 0 / 444.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.6776, allocations: 0.5133 MB / 445 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/0.6804, allocations: 477.7 kB / 445.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008572/0.689, allocations: 4.854 MB / 450.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.6908, allocations: 1.609 MB / 451.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.6913, allocations: 163.4 kB / 452.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.6913, allocations: 0 / 452.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of Templates: time 0.09169/0.783, allocations: 47.64 MB / 499.7 MB, free: 5.523 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++ -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.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