Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate") translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001004, allocations: 91.73 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002795, allocations: 8 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 51.5 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.004236/0.1327, allocations: 3.653 MB / 362.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.135, allocations: 1.172 MB / 363.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.1355, allocations: 16 kB / 363.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.1357, allocations: 75.33 kB / 363.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.1361, allocations: 146.8 kB / 363.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.1367, allocations: 195.7 kB / 364 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009956/0.1377, allocations: 0.9566 MB / 365 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.1381, allocations: 215.9 kB / 365.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.1385, allocations: 314.9 kB / 365.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/0.139, allocations: 386.4 kB / 365.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.534e-05/0.1391, allocations: 52 kB / 365.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1392, allocations: 48 kB / 366 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.1394, allocations: 151.4 kB / 366.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.1396, allocations: 165.3 kB / 366.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009422/0.1405, allocations: 0.9273 MB / 367.2 MB, free: 5.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1406, allocations: 0 / 367.2 MB, free: 5.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1406, allocations: 0 / 367.2 MB, free: 5.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1406, allocations: 0 / 367.2 MB, free: 5.648 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: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.002575/0.1432, allocations: 1.208 MB / 368.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1432, allocations: 12.03 kB / 368.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.1434, allocations: 83 kB / 368.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.144, allocations: 460.6 kB / 369 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.1441, allocations: 49.31 kB / 369 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.1442, allocations: 59.95 kB / 369.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.1464, allocations: 1.042 MB / 370.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1464, allocations: 0 / 370.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-05/0.1465, allocations: 24 kB / 370.2 MB, free: 2.551 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1465, allocations: 12 kB / 370.2 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/0.1493, allocations: 1.159 MB / 371.3 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2488/0.3981, allocations: 3.271 MB / 374.6 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.4009, allocations: 1.03 MB / 375.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.4023, allocations: 497.2 kB / 376.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.373e-05/0.4024, allocations: 22.61 kB / 376.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/0.4038, allocations: 0.5117 MB / 376.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 3.106e-06/0.4038, allocations: 0 / 376.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.00339/0.4072, allocations: 1.267 MB / 377.9 MB, free: 17.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.4074, allocations: 379.4 kB / 378.3 MB, free: 16.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000953/0.4083, allocations: 0.5682 MB / 378.8 MB, free: 16.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.4084, allocations: 40.56 kB / 378.9 MB, free: 16.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.4087, allocations: 370.6 kB / 379.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.4088, allocations: 165.8 kB / 379.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.4089, allocations: 14.78 kB / 379.4 MB, free: 16.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4091, allocations: 370.8 kB / 379.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.4104, allocations: 459.8 kB / 380.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.4118, allocations: 0.7408 MB / 381 MB, free: 15.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.413, allocations: 0.5345 MB / 381.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.413, allocations: 2.156 kB / 381.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003106/0.4162, allocations: 1.249 MB / 382.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/0.4162, allocations: 67.06 kB / 382.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4163, allocations: 6.25 kB / 382.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.834e-05/0.4163, allocations: 10.84 kB / 382.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.4174, allocations: 256.1 kB / 383.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/0.4174, allocations: 18.02 kB / 383.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.4186, allocations: 222.5 kB / 383.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.4187, allocations: 35.03 kB / 383.4 MB, free: 14.42 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.VIN1.signalSource.T_start,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.count,VIN1.signalSource.count,$PRE.VIN2.signalSource.T_start,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.count,VIN2.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003648/0.419, allocations: 218.4 kB / 383.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.4192, allocations: 69.56 kB / 383.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.4193, allocations: 78.5 kB / 383.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.4194, allocations: 9.328 kB / 383.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.4194, allocations: 0 / 383.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4194, allocations: 3.984 kB / 383.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/0.4236, allocations: 1.795 MB / 385.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4236, allocations: 3.938 kB / 385.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008286/0.4244, allocations: 177 kB / 385.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.4244, allocations: 2.047 kB / 385.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/0.4245, allocations: 14.03 kB / 385.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4245, allocations: 6.031 kB / 385.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4245, allocations: 1.031 kB / 385.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/0.4281, allocations: 1.47 MB / 387.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.4282, allocations: 149.2 kB / 387.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4284, allocations: 18.91 kB / 387.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/0.4291, allocations: 145.8 kB / 387.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.4293, allocations: 47.81 kB / 387.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.4294, allocations: 18.64 kB / 387.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007133/0.4301, allocations: 396 kB / 388 MB, free: 12.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.4301, allocations: 2.531 kB / 388 MB, free: 12.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001095/0.4312, allocations: 189.4 kB / 388.1 MB, free: 12.37 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN1.signalSource.count,VIN2.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001973/0.4314, allocations: 112 kB / 388.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002796/0.4342, allocations: 1.11 MB / 389.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.4342, allocations: 1.188 kB / 389.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.4353, allocations: 467 kB / 389.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.436, allocations: 99.83 kB / 389.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.4386, allocations: 1.544 MB / 391.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.439, allocations: 0.8849 MB / 392.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.4393, allocations: 58.05 kB / 392.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4393, allocations: 1.375 kB / 392.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Templates: time 0.01287/0.4522, allocations: 9.213 MB / 401.6 MB, free: 3.211 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.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_trunk_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.o] Error 1