Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.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.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001233, allocations: 89.7 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00183/0.00183, allocations: 203.1 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.597/1.597, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002412/0.0002412, allocations: 4 kB / 307.3 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1335, allocations: 51.49 MB / 358.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01215/0.1457, allocations: 12.42 MB / 371.2 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3263/0.472, allocations: 18.53 MB / 389.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.475, allocations: 67.41 kB / 389.8 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004902/0.48, allocations: 0.8648 MB / 390.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.4926, allocations: 1.814 MB / 392.5 MB, free: 3.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007662/0.5003, allocations: 1.105 MB / 393.6 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01657/0.5169, allocations: 6.036 MB / 399.6 MB, free: 92 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.5186, allocations: 393.6 kB / 400 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/0.522, allocations: 0.9194 MB / 400.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.5254, allocations: 0.9621 MB / 401.9 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004007/0.5258, allocations: 40.78 kB / 401.9 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0095/0.5353, allocations: 1.339 MB / 403.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.5365, allocations: 256.1 kB / 403.5 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002933/0.5394, allocations: 0.5934 MB / 404.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006821/0.5463, allocations: 2.595 MB / 406.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/0.5463, allocations: 2.938 kB / 406.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.003e-06/0.5463, allocations: 4 kB / 406.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002231/0.5466, allocations: 3.938 kB / 406.7 MB, free: 12.05 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.0097/0.5563, allocations: 3.115 MB / 409.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.425e-05/0.5564, allocations: 12.02 kB / 409.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.5579, allocations: 371.5 kB / 410.2 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007385/0.5653, allocations: 2.356 MB / 412.6 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.584e-05/0.5655, allocations: 33 kB / 412.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004495/0.566, allocations: 55.89 kB / 412.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.5684, allocations: 0.7187 MB / 413.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.5684, allocations: 4 kB / 413.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.5686, allocations: 19.94 kB / 413.4 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/0.5687, allocations: 19.98 kB / 413.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.5707, allocations: 0.8281 MB / 414.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007532/0.5783, allocations: 2.911 MB / 417.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.5798, allocations: 0.7396 MB / 417.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.581, allocations: 0.6742 MB / 418.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0378/0.6188, allocations: 30.74 MB / 449.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000979/0.6198, allocations: 381.6 kB / 449.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 3.798e-06/0.6198, allocations: 4 kB / 449.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=49): time 0.004067/0.6239, allocations: 1.485 MB / 451.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.624, allocations: 63.39 kB / 451.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/0.6284, allocations: 2.764 MB / 454 MB, free: 8.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.6286, allocations: 37.7 kB / 454 MB, free: 8.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.6302, allocations: 1.387 MB / 455.4 MB, free: 7.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.6305, allocations: 161.8 kB / 455.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.6305, allocations: 12 kB / 455.6 MB, free: 7.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.6307, allocations: 338 kB / 455.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/0.6313, allocations: 257.9 kB / 456.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000911/0.6323, allocations: 0.6163 MB / 456.8 MB, free: 5.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007016/0.633, allocations: 336.2 kB / 457.1 MB, free: 5.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/0.633, allocations: 4 kB / 457.1 MB, free: 5.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002858/0.6359, allocations: 1.316 MB / 458.4 MB, free: 4.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.6359, allocations: 8 kB / 458.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.636, allocations: 87.92 kB / 458.5 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.6367, allocations: 280.8 kB / 458.8 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.6372, allocations: 179.7 kB / 459 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.6384, allocations: 0.8802 MB / 459.8 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.6399, allocations: 119.1 kB / 460 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.6401, allocations: 64 kB / 460 MB, free: 2.578 MB / 366.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.001018/0.6411, allocations: 418.6 kB / 460.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006324/0.6417, allocations: 363.7 kB / 460.8 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.6451, allocations: 1.323 MB / 462.1 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.6451, allocations: 7.984 kB / 462.1 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.6451, allocations: 0 / 462.1 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.6451, allocations: 0 / 462.1 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/0.6494, allocations: 2.224 MB / 464.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001164/0.6495, allocations: 71.98 kB / 464.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.6498, allocations: 72.02 kB / 464.5 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004941/0.6503, allocations: 268.7 kB / 464.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.6504, allocations: 36 kB / 464.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.6514, allocations: 0.8614 MB / 465.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6515, allocations: 0.875 kB / 465.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.6539, allocations: 1.172 MB / 466.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.6551, allocations: 460.4 kB / 467.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/0.6553, allocations: 16 kB / 467.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/0.656, allocations: 39.97 kB / 467.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.6562, allocations: 63.92 kB / 467.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.6563, allocations: 36 kB / 467.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003277/0.6596, allocations: 1.785 MB / 469.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6596, allocations: 0 / 469.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002152/0.6617, allocations: 0.5661 MB / 469.8 MB, free: 8.637 MB / 382.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.001476/0.6632, allocations: 0.7502 MB / 470.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.6653, allocations: 0.889 MB / 471.4 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.6653, allocations: 0 / 471.4 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009878/0.6663, allocations: 0.5004 MB / 471.9 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/0.6694, allocations: 0.5831 MB / 472.5 MB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007278/0.6767, allocations: 4.495 MB / 477 MB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.6781, allocations: 1.601 MB / 478.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.6785, allocations: 159.4 kB / 478.7 MB, free: 15.52 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6785, allocations: 0 / 478.7 MB, free: 15.52 MB / 398.1 MB Notification: Performance of Templates: time 0.08289/0.7614, allocations: 47.44 MB / 0.5138 GB, free: 104 kB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.NandCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.NandCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.NandCalcHelperMain.o] Error 1