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.001547/0.001547, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001673/0.001674, allocations: 194 kB / 18.72 MB, free: 4.762 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.009/2.009, 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.001398/0.001398, allocations: 51.92 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1483, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01572/0.1641, allocations: 13.25 MB / 340.5 MB, free: 7.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02914/0.1933, allocations: 19.47 MB / 360 MB, free: 4.055 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005388/0.1988, allocations: 67.44 kB / 360 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00501/0.2039, allocations: 0.9505 MB / 361 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01546/0.2194, allocations: 1.883 MB / 362.9 MB, free: 1.133 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.23, allocations: 1.141 MB / 364 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01526/0.2454, allocations: 6.097 MB / 370.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.2471, allocations: 412.8 kB / 370.5 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002945/0.2501, allocations: 0.9094 MB / 371.4 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.2528, allocations: 1.005 MB / 372.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007725/0.2536, allocations: 48 kB / 372.5 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007026/0.2606, allocations: 1.124 MB / 373.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006604/0.2613, allocations: 293.7 kB / 373.9 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002509/0.2638, allocations: 1.288 MB / 375.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.2675, allocations: 2.676 MB / 377.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.2675, allocations: 0 / 377.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.2676, allocations: 0 / 377.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.068e-05/0.2676, allocations: 0 / 377.8 MB, free: 2.07 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.3351/0.6027, allocations: 3.53 MB / 381.4 MB, free: 53.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.98e-05/0.6028, allocations: 9.844 kB / 381.4 MB, free: 53.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.604, allocations: 378 kB / 381.8 MB, free: 53.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006712/0.6107, allocations: 2.535 MB / 384.3 MB, free: 52.17 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.6108, allocations: 38.05 kB / 384.3 MB, free: 52.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.6109, allocations: 51.61 kB / 384.4 MB, free: 52.13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.6127, allocations: 0.7023 MB / 385.1 MB, free: 51.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.6127, allocations: 2.312 kB / 385.1 MB, free: 51.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.6128, allocations: 19.91 kB / 385.1 MB, free: 51.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.6128, allocations: 24.64 kB / 385.1 MB, free: 51.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.6149, allocations: 0.7863 MB / 385.9 MB, free: 51.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008978/0.6239, allocations: 2.896 MB / 388.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.6257, allocations: 0.6996 MB / 389.5 MB, free: 49.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.6271, allocations: 0.6485 MB / 390.2 MB, free: 49.58 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03379/0.6609, allocations: 30.17 MB / 420.3 MB, free: 20.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007507/0.6617, allocations: 365.3 kB / 420.7 MB, free: 20.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 3.566e-06/0.6617, allocations: 4 kB / 420.7 MB, free: 20.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.003565/0.6653, allocations: 1.395 MB / 422.1 MB, free: 19.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.6654, allocations: 62.94 kB / 422.1 MB, free: 19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/0.669, allocations: 2.816 MB / 425 MB, free: 16.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.6691, allocations: 33.7 kB / 425 MB, free: 16.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.6701, allocations: 1.395 MB / 426.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.6703, allocations: 165.7 kB / 426.5 MB, free: 14.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/0.6706, allocations: 218.2 kB / 426.8 MB, free: 14.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6708, allocations: 345.8 kB / 427.1 MB, free: 14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005251/0.6713, allocations: 237.9 kB / 427.3 MB, free: 13.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.6721, allocations: 0.5916 MB / 427.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.6734, allocations: 0.8815 MB / 428.8 MB, free: 12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.6734, allocations: 7.875 kB / 428.8 MB, free: 12 MB / 318.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002479/0.6759, allocations: 1.284 MB / 430.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.6759, allocations: 8 kB / 430.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.6761, allocations: 80 kB / 430.2 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/0.6767, allocations: 280.6 kB / 430.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.6772, allocations: 163.7 kB / 430.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009031/0.6781, allocations: 0.8857 MB / 431.5 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.6801, allocations: 119 kB / 431.6 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.6803, allocations: 64 kB / 431.7 MB, free: 9.102 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.001012/0.6813, allocations: 421.5 kB / 432.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004481/0.6817, allocations: 367.6 kB / 432.4 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003/0.6848, allocations: 1.276 MB / 433.7 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.6848, allocations: 4 kB / 433.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6848, allocations: 7.938 kB / 433.7 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6848, allocations: 0 / 433.7 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004215/0.689, allocations: 2.207 MB / 435.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-05/0.6891, allocations: 72 kB / 436 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.6894, allocations: 62.98 kB / 436.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004857/0.6899, allocations: 260.8 kB / 436.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/0.69, allocations: 39.92 kB / 436.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009664/0.691, allocations: 0.8607 MB / 437.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.691, allocations: 4.031 kB / 437.2 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.693, allocations: 1.137 MB / 438.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.6943, allocations: 460.5 kB / 438.8 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009282/0.6953, allocations: 15.98 kB / 438.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.6964, allocations: 31.97 kB / 438.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.6966, allocations: 67.81 kB / 438.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.6967, allocations: 40 kB / 439 MB, free: 1.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003664/0.7004, allocations: 1.832 MB / 440.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7004, allocations: 0 / 440.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002752/0.7032, allocations: 0.5777 MB / 441.4 MB, free: 15.23 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.00202/0.7052, allocations: 0.7828 MB / 442.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.7075, allocations: 0.8425 MB / 443 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.7076, allocations: 0 / 443 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.7087, allocations: 0.4923 MB / 443.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004297/0.713, allocations: 481.5 kB / 444 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.7247, allocations: 4.799 MB / 448.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.7263, allocations: 1.609 MB / 450.4 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/0.7269, allocations: 167.4 kB / 450.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of SimCode: time 2.915e-06/0.7269, allocations: 4 kB / 450.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of Templates: time 0.1001/0.827, allocations: 47.93 MB / 498.5 MB, free: 5.973 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